Commit 215e629cd4244f40769e09df5951c6cbe66ed246

Nick Mathewson 2010-06-21T12:26:21

Add bufferevent_lock()/bufferevent_unlock() Although bufferevent operations are threadsafe, sometimes you need to make sure that a few operations on a single bufferevent will all be executed with nothing intervening. That's what these functions are for.