]> granicus.if.org Git - libevent/commit
Add a lock/unlock pair inside the event callbacks in bufferevents.
authorNick Mathewson <nickm@torproject.org>
Fri, 10 Jul 2009 19:34:00 +0000 (19:34 +0000)
committerNick Mathewson <nickm@torproject.org>
Fri, 10 Jul 2009 19:34:00 +0000 (19:34 +0000)
commita501d6833bae3415381e62acd6e45f4a22fea5b6
tree4bd206b85ff9ca3e7bc7e2ce9af5bd78739c2182
parent6469598e568a62072c35a3e9322ad09e102b81a7
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
ChangeLog
bufferevent.c
bufferevent_sock.c