Thanks!
-Original Message-
From: owner-libevent-us...@freehaven.net
[mailto:owner-libevent-us...@freehaven.net] On Behalf Of Nick Mathewson
Sent: Monday, June 21, 2010 9:29 PM
To: libevent-us...@freehaven.net
Subject: Re: [Libevent-users] Thread safety with Evbuffers and Bufferevents
On Sun, Jun 20, 2010 at 5:51 AM, Avi Bab wrote:
> Hello all,
>
>
>
> I’d like to use a socket based bufferevent to perform asynchronous writing
> to the underlying socket:
>
> One thread, X, adds data to the output evbuffer (either by
> evbuffer_reserve_space+ evbuffer_commit_space or by evbuffer
Hello all,
I'd like to use a socket based bufferevent to perform asynchronous writing to
the underlying socket:
One thread, X, adds data to the output evbuffer (either by
evbuffer_reserve_space+ evbuffer_commit_space or by evbuffer_add_reference) and
another thread, Y, dispatches on the buffer