gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

making gnutls depended to pthread


From: Nikos Mavrogiannopoulos
Subject: making gnutls depended to pthread
Date: Sat, 26 Jun 2010 10:04:02 +0200
User-agent: Thunderbird 2.0.0.24 (X11/20100411)

Hello,
 I've been thinking it for quite some time but given the bug report:
https://savannah.gnu.org/support/?107409 , 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
system.

regards,
Nikos



reply via email to

[Prev in Thread] Current Thread [Next in Thread]