mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-05 04:56:10 +02:00
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:
parent
6b4a39adc4
commit
da9e939f3c
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user