GnuPG master migrated to nPth

Marcus Brinkmann marcus.brinkmann at
Fri Jan 27 18:59:05 CET 2012

On 01/26/2012 09:00 PM, Hans-Christoph Steiner wrote:
> Bionic libc does not seem to have these though: pthread_tryjoin_np
> pthread_getname_np but does seem to have pthread_setname_np.  So at this
> point pth is ported and seems a better option for Android than npth.

pth_tryjoin_np is not used by gnupg, only in the npth implementation as a
shortcut in case the thread is joinable immediately.  This is only an
optimization and can be skipped without violating any invariants.

getname and setname are only used for debugging and can be stubbed out without
any problems.


More information about the Gnupg-devel mailing list