making gnutls depended to pthread

Nikos Mavrogiannopoulos nmav at
Sat Jun 26 10:04:02 CEST 2010

 I've been thinking it for quite some time but given the bug report: , I think it might be relevant.
GnuTLS due to its use of random numbers will always need a global pool
to be accessed, and thus locking is mandatory. How about making a new
gnutls_global_init2() that accept flags such as USE_SYSTEM_LOCKS (that
would be pthread for linux), by default? This way gnutls will initialize
all libraries that it is depended on using the default threads for each


More information about the Gnutls-devel mailing list