From 57689c4484ba3fd098739bcea1557c329a8fa16b Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 9 Dec 2010 12:17:11 -0500 Subject: [PATCH] Document that the cpu_hint is only used on Windows with IOCP for now --- include/event2/event.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/event2/event.h b/include/event2/event.h index 911560db..4b05b325 100644 --- a/include/event2/event.h +++ b/include/event2/event.h @@ -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 -- 2.40.0