1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

a dodgy fix for a dodgy race condition in smbtorture child startup

This commit is contained in:
Andrew Tridgell -
parent 14e2beca9b
commit 30febde783

View File

@ -3610,7 +3610,7 @@ static double create_procs(BOOL (*fn)(int), BOOL *result)
child_status[i] = getpid(); child_status[i] = getpid();
while (child_status[i]) msleep(2); while (child_status[i] && end_timer() < 5) msleep(2);
child_status_out[i] = fn(i); child_status_out[i] = fn(i);
_exit(0); _exit(0);