mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
Document that the cpu_hint is only used on Windows with IOCP for now
This commit is contained in:
parent
bb0d2b4e85
commit
57689c4484
@ -244,7 +244,8 @@ int event_config_set_flag(struct event_config *cfg, int flag);
|
||||
|
||||
/**
|
||||
* Records a hint for the number of CPUs in the system. This is used for
|
||||
* tuning thread pools, etc, for optimal performance.
|
||||
* 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user