mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 15:47:01 +02:00
MINOR: mworker: set all_threads_mask and pid_bit to 1
Reinit the all_threads_mask and pid_bit to 1 before the master polling loop, this process is monothread.
This commit is contained in:
parent
1ee55fddea
commit
2672eb987a
@ -904,6 +904,11 @@ static void mworker_loop()
|
||||
relative_pid = 1;
|
||||
pid_bit = 1;
|
||||
|
||||
#ifdef USE_THREAD
|
||||
tid_bit = 1;
|
||||
all_threads_mask = 1;
|
||||
#endif
|
||||
|
||||
jobs++; /* this is the "master" job, we want to take care of the
|
||||
signals even if there is no listener so the poll loop don't
|
||||
leave */
|
||||
|
Loading…
Reference in New Issue
Block a user