tests: Use a pipe for synchronization to avoid potential deadlock
authorJonas Ådahl <jadahl@gmail.com>
Tue, 6 Nov 2012 07:15:03 +0000 (08:15 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 7 Nov 2012 23:37:46 +0000 (18:37 -0500)
commit3d651dc2eecbfba8c1fc813eedcf615364d5a2ac
tree92d904fcf5d854e2cc0d995ee99cf2140d7fc6e3
parent1801cdc41ac0653e4ff0f0cc4eeaf373ae40edf4
tests: Use a pipe for synchronization to avoid potential deadlock

Using signals in the previous way could potentially lead to dead locks
if the SIGCONT was signalled before a listener was registered.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
tests/queue-test.c