summaryrefslogtreecommitdiff
path: root/test/regress_pthread.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-10-02 03:03:58 +0000
committerNick Mathewson <nickm@torproject.org>2009-10-02 03:03:58 +0000
commitba8a17714ead9f36424c4ecc21c009735d1408e5 (patch)
tree96389ee29ee4018f46fc008193e2870ab91424a7 /test/regress_pthread.c
parentd5b640fc16e9d9e1e709ec73eb938de9eeff3f2c (diff)
downloadlibevent-ba8a17714ead9f36424c4ecc21c009735d1408e5.tar.gz
Do not notify the main thread more than needed.
Basically, we suppress the notification when an event is added or deleted and: - The event has no fd, or there is no change in whether we are reading/writing on the event's fd. - The event has no timeout, or adding the event did not make the earliest timeout become earlier. This should be a big efficiency win in applications with multiple threads and lots of timeouts. svn:r1439
Diffstat (limited to 'test/regress_pthread.c')
0 files changed, 0 insertions, 0 deletions