Skip to content
Commit 50a20dfb authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov
Browse files

zdtm: fix race in test_waitsig for multithreaded tests



A signal can be handled by non-leader thread and sigsuspend
will not be woken up.

kill can send signals to a specified thread, so a futex is used for
synchronization.

Signed-off-by: default avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent 38c699a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment