On Tue, Mar 26, 2013 at 6:32 PM, John <jjchnk-libev...@yahoo.com> wrote:
> Hello all,
>
> I am having significant issues with (near immediate) deadlock when trying to 
> send data out a single openssl bufferevent from two separate threads. The 
> individual threads themselves send complete messages with each write. This 
> should present no real problem from a synchronization perspective. In fact, 
> the code works flawlessly when using ordinary bufferevents (not ssl 
> bufferevents).
>
> Are there any known issues with writing to a single openssl bufferevent from 
> multiple threads concurrently? Should I have the expectation of this working, 
> presuming my code is written correctly? I believe I have initialized libevent 
> and openssl correctly for multithreaded execution.
>

This could also be related to the deadlock issue under discussion in
the thread on this mailing list  with subject "Deadlock when calling
bufferevent_free from an other thread" -- have a look at the archives
for more info on the status of that one.

(Wow, I should really answer that thread RSN.)

-- 
Nick
***********************************************************************
To unsubscribe, send an e-mail to majord...@freehaven.net with
unsubscribe libevent-users    in the body.

Reply via email to