in synccall, ignore the signal before any threads' signal handlers return
authorRich Felker <dalias@aerifal.cx>
Mon, 2 Sep 2013 19:16:36 +0000 (15:16 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 2 Sep 2013 19:16:36 +0000 (15:16 -0400)
commit3c0501d28c1491ce9a4f675e9e223a8dfd9e134c
treefd32e20f204f9faef5bff8a33167f82b410f9cef
parenta731e4103b87cb02b763f2e3f73cc43c72bdf65f
in synccall, ignore the signal before any threads' signal handlers return

this protects against deadlock from spurious signals (e.g. sent by
another process) arriving after the controlling thread releases the
other threads from the sync operation.
src/thread/synccall.c