Rich Salz wrote:
> 
> > To play devil's advocate, why don't we get rid of all locks in OpenSSL?
> 
> Because, as we found out (back when my team first contributed the locking code
> to SSLeay), if you only have the granularity of a single "openssl lock", then
> only a single thread can do SSL_write.  That locking hierarchy is way too
> coarse. :)

Why do you need the single "openssl lock" in the first place?
What in the OpenSSL API is designed such that a lock is needed
when two different threads are processing two different connections?
- Dan
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to