WL#5363: Thread Pool Service Interface

Adding a comment to scheduler_types on
the default values used.
This commit is contained in:
Mats Kindahl 2010-10-08 14:44:57 +02:00
parent 96daec35d1
commit 0a9c39684e

View file

@ -57,6 +57,13 @@ struct scheduler_functions
*/
enum scheduler_types
{
/*
The default of --thread-handling is the first one in the
thread_handling_names array, this array has to be consistent with
the order in this array, so to change default one has to change
the first entry in this enum and the first entry in the
thread_handling_names array.
*/
SCHEDULER_ONE_THREAD_PER_CONNECTION=0,
SCHEDULER_NO_THREADS,
SCHEDULER_TYPES_COUNT