[LTP] [PATCH 1/1] netstress: Workaround race between SETSID() and exit(0)

Cyril Hrubis chrubis@suse.cz
Fri Feb 18 17:14:19 CET 2022


Hi!
> Hm, on one of the machines it blocked after 12 runs:

Ah, there is another race there. The new thread may send the signal
before the parent is sleeping in pause()...

Just use the checkpoint WAKE() WAIT() pair instead, these are
RaceFree(tm).

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list