Commit a501d6833bae3415381e62acd6e45f4a22fea5b6

Nick Mathewson 2009-07-10T19:34:00

Add a lock/unlock pair inside the event callbacks in bufferevents. This fixes part of bug 2800642, I believe, though there is still a general race condition in multithreaded use of events that we need to think about. svn:r1337