mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 13:51:26 +02:00
BUILD: fix build without thread
Cyril Bont reported that commit f9cc07c25b broke the build without thread. We don't need to initialise tid = 0 in mworker_loop, so we could completely remove it.
This commit is contained in:
parent
2c096c3b7a
commit
cd5c944ea5
@ -867,8 +867,6 @@ static void mworker_loop()
|
||||
mworker_catch_sigchld(NULL); /* ensure we clean the children in case
|
||||
some SIGCHLD were lost */
|
||||
|
||||
tid = 0;
|
||||
|
||||
global.nbthread = 1;
|
||||
relative_pid = 1;
|
||||
pid_bit = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user