CLEANUP: threads: fix misleading comment about all_threads_mask

This variable changed a bit after 1.8, it's never zero anymore.
This commit is contained in:
Willy Tarreau 2019-02-02 17:03:41 +01:00
parent 6b4a39adc4
commit da9e939f3c

View File

@ -26,9 +26,10 @@
#include <common/initcall.h>
/* Note about all_threads_mask :
* - with threads support disabled, this symbol is defined as zero (0UL).
* - with threads enabled, this variable is never zero, it contains the mask
* of enabled threads. Thus if only one thread is enabled, it equals 1.
* - this variable is comprised between 1 and LONGBITS.
* - with threads support disabled, this symbol is defined as constant 1UL.
* - with threads enabled, it contains the mask of enabled threads. Thus if
* only one thread is enabled, it equals 1.
*/
#ifndef USE_THREAD