event_config_avoid_method

Enters an event method that should be avoided into the configuration.

This can be used to avoid event mechanisms that do not support certain file descriptor types, or for debugging to avoid certain event mechanisms. An application can make use of multiple event bases to accommodate incompatible file descriptor types.

@param cfg the event configuration object @param method the name of the event method to avoid @return 0 on success, -1 on failure.

extern (C) nothrow
int
event_config_avoid_method
(,
const(char)* method
)

Meta