Home GnuPG
Diffusion nPth 64b99056b8ef

Implement npth_mutex_timedlock for inferior systems.
64b99056b8efUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Implement npth_mutex_timedlock for inferior systems.

* configure.ac: Check for pthread_mutex_timedlock.
* src/npth.c (BUSY_WAIT_INTERVAL): New macro.
(npth_mutex_timedlock): If pthread_mutex_timedlock is missing,
use a poke-the-stick-at-it strategy.

Details

Provenance
Marcus Brinkmann <mb@g10code.com>Authored on Jan 31 2012, 3:33 PM
Parents
rPTH3a8ebdd6a418: Include sys/select.h if needed.
Branches
Unknown
Tags
Unknown