aboutsummaryrefslogtreecommitdiff
path: root/sockutils.c
diff options
context:
space:
mode:
authorBill Fenner <fenner@gmail.com>2022-05-26 11:41:43 -0700
committerBill Fenner <fenner@gmail.com>2022-08-25 08:29:07 -0700
commit024fd9717d43835f3e08b3146714532768910d3c (patch)
treef4d0913db9d26ec5c6acb201e37d91e5a51da929 /sockutils.c
parent4c1e516dd2971810918babcd871e428db53383e4 (diff)
Close the eventfd if we are non-blocking
The eventfd is used to break out of a poll() before it times out, used by pcap_breakloop(). If we are non-blocking, then the eventfd is never needed, so we close it. (And open a new eventfd if we switch to blocking).
Diffstat (limited to 'sockutils.c')
0 files changed, 0 insertions, 0 deletions