[PATCH] Check whether pthread_mutex_lock() and nanosleep() are included in libc before trying pthreads and rt

Stef Walter stefw at redhat.com
Mon Dec 2 06:27:17 PST 2013


On 28.11.2013 16:34, Nikos Mavrogiannopoulos wrote:
> [resent]
> 
> This is also related to:
> https://bugzilla.redhat.com/show_bug.cgi?id=877421
> 
> Although it's for gnutls the same argumentation applies :)

Thanks. Tweaked and applied. I ended up having to check for
pthread_mutex_setattr() instead, since it seems like
pthread_mutex_lock() is sometimes has sneaky implementations.

Cheers,

Stef



More information about the p11-glue mailing list