Is it safe to use driver_event()?
Sun Aug 17 01:36:47 CEST 2003
I'm building a dynamically linked in driver and I really need to
have the poll() version of driver_select() because my file handles
are used with STREAMS and I need to maintain the extra data which
I was happy to find the existance of the driver_event() function
which does exactly what I need:
EXTERN int driver_event(ErlDrvPort port, ErlDrvEvent event,
... and the associated callback:
void (*event)(ErlDrvData drv_data, ErlDrvEvent event,
/* Called when an event selected by
driver_event() has occurred */
It is however not documented, and of even more concern, not used
Is this feature considered fully implemented? How much trouble
am I asking for if I use it?
More information about the erlang-questions