On 27 Jun, Lenny Foner wrote:

>     If I understand you correctly, you are suggesting that I put wrappers around
>     SSL_write and SSL_read that make them exclusive operations.  This
>     effectively makes the thing single-threaded again.  I need to have blocking
> [you mean, "nonblocking"?]
>     Reads in effect all the time on one thread while I'm writing on another.  I
>     can't very well single-thread the reads and writes.
> 
>     Any other ideas?
> 
> What are you -really- trying to do?

Having read things properly, he could probably get around his problem
the same way it's done in licq - do a select() on the descriptor itself
before doing an SSL_read.

By the way, what's all the code in crypto/threads for?

Taral

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to