]> granicus.if.org Git - libevent/commit
Avoid a spurious close(-1) on Linux
authorNick Mathewson <nickm@torproject.org>
Fri, 12 Mar 2010 23:35:15 +0000 (18:35 -0500)
committerNick Mathewson <nickm@torproject.org>
Sat, 13 Mar 2010 05:31:14 +0000 (00:31 -0500)
commit70a44b61bb574d4e550ef7a4f933b95efc1a5316
tree1fd519750b7a2ec78e49fdd77306c3484a173e9b
parent75018951ece71668b56ce688740a62f9d4db9277
Avoid a spurious close(-1) on Linux

On Linux, we use only one fd to do main-thread signaling (since we have
eventfd()), so we don't need to close th_notify_fd[1] as we would if we were
using a socketpair.
event.c