[erlang-questions] kernel poll vs driver_event question

Eranga Udesh <>
Thu Jun 28 15:15:01 CEST 2007


Hi,

I see in erl_check_io.c source file, when ERTS_POLL_USE_KERNEL_POLL is
enabled, the driver_event function is bypassed (return -1). Anybody knows
why is that? With kernel poll enabled, is there a way to receive
asynchronous events to driver->(*event)?

Thanks,
- Eranga


Ps: after a couple of rounds searching, I found that driver_event function
is implemented in erl_check_io.c file and function name is generated using
macro ERTS_CIO_EXPORT, based on macros ERTS_KERNEL_POLL_VERSION,
ERTS_NO_KERNEL_POLL_VERSION or else.




More information about the erlang-questions mailing list