1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

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

This commit is contained in:
Andrew Tridgell 0001-01-01 00:00:00 +00:00
parent 14e2beca9b
commit 30febde783

View File

@ -3610,7 +3610,7 @@ static double create_procs(BOOL (*fn)(int), BOOL *result)
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);
_exit(0);