On Wed, May 1, 2013 at 12:07 PM, Sashan Govender <sashang@xxxxxxxxx> wrote:Ordinarily, yes. You can override this with the
> Hi
>
> I need to clarify my understanding of how bufferevent objects work with
> mulithreaded code. If a bufferevent triggers a callback (read or write) does
> it hold a lock until that callback completes?
BEV_OPT_UNLOCK_CALLBACKS option, as described in
http://www.wangafu.net/~nickm/libevent-book/Ref6_bufferevent.html
Yes.
> Do the locks use a recursive
> mutex?
Yrs,
--
Nick
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users  Âin the body.