Relates :
|
|
Relates :
|
The kevent() call can receive an interrupt before the timeout has expired and any events have been queued. In this case the call will return -1 and errno will be set to EINTR. The description of EINTR is "A signal was delivered before the timeout expired and before any events were placed on the kqueue for return." https://www.freebsd.org/cgi/man.cgi?kqueue