]> granicus.if.org Git - libevent/commit
Minimize calls to base_notify implementation functions, thereby avoiding needless...
authorNick Mathewson <nickm@torproject.org>
Wed, 8 Sep 2010 17:22:55 +0000 (13:22 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 8 Sep 2010 17:22:55 +0000 (13:22 -0400)
commit4632b78e01a312ae716bc17322c462be53182eca
tree47355f24651fac110b5d7032a9ef3b137389c22f
parentc7a06bfaee7f96327779972214e8b744170531ff
Minimize calls to base_notify implementation functions, thereby avoiding needless syscalls

The trick here is that if we already told the base to wake up, and it
hasn't woken up yet, we don't need to tell it to wake up again.  This
should help lots with inherently multithreaded code like IOCP.
event-internal.h
event.c