- Name
-
ul_epoll_ctl_handoff
- Default
-
1
- Minimum
-
0
- Maximum
-
1
- Scope
- per-process
Allow epoll_ctl()
calls to be passed from one thread to another to avoid lock
contention, in EF_UL_EPOLL=1
or 3
case. This optimization is particularly
important when epoll_ctl()
calls are made concurrently with
epoll_wait()
and spinning is enabled.
This option is enabled by default.
Caveat:
- This option can cause an error code returned by
epoll_ctl()
to be hidden from the application when a call is deferred. In such cases an error message is emitted to stderr or the system log.