]> granicus.if.org Git - libevent/commit
Don't allow internal events to starve lower-priority events.
authorNick Mathewson <nickm@torproject.org>
Fri, 10 Apr 2009 14:21:53 +0000 (14:21 +0000)
committerNick Mathewson <nickm@torproject.org>
Fri, 10 Apr 2009 14:21:53 +0000 (14:21 +0000)
commite3d82497c99d9cb3b1b23cc746b448811910e260
treed3d4336e0aa3fbda6edbba829fce60361ee47e63
parentce146eb1cb02a6ed29beecc16da611030d471937
Don't allow internal events to starve lower-priority events.

This is exceptionally important with multithreaded stuff, where we use
an event to notify the base that other events have been made active.
If the activated events have a prioirty number greater than that of the
notification event, it will starve them, and that's no good.

svn:r1149
ChangeLog
event.c