event_config_set_num_cpus_hint

Records a hint for the number of CPUs in the system. This is used for tuning thread pools, etc, for optimal performance. In Libevent 2.0, it is only on Windows, and only when IOCP is in use.

@param cfg the event configuration object @param cpus the number of cpus @return 0 on success, -1 on failure.

extern (C) nothrow
int
event_config_set_num_cpus_hint

Meta