[Help-gnutls] Re: gnutls_handshake() is slow and is a big lock

Simon Josefsson jas at extundo.com
Sat Jul 29 14:23:34 CEST 2006


Eric Leblond <regit at inl.fr> writes:

>> I haven't tried it, but I think it should work.
>
> No sadly, it seems there's a lot in gcrypt and all gets serialized.

Ouch.  Which lock is this?  I agree that locks in libgcrypt are bad,
we should try to remove them, or provide a way to replace libgcrypt
with thread-safer and lock-free alternatives (of which there are
several).

/Simon





More information about the Gnutls-help mailing list