summaryrefslogtreecommitdiff
path: root/src/thread/lock_ptc.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-09-02 15:16:36 -0400
committerRich Felker <dalias@aerifal.cx>2013-09-02 15:16:36 -0400
commit3c0501d28c1491ce9a4f675e9e223a8dfd9e134c (patch)
treefd32e20f204f9faef5bff8a33167f82b410f9cef /src/thread/lock_ptc.c
parenta731e4103b87cb02b763f2e3f73cc43c72bdf65f (diff)
downloadmusl-3c0501d28c1491ce9a4f675e9e223a8dfd9e134c.tar.gz
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.
Diffstat (limited to 'src/thread/lock_ptc.c')
0 files changed, 0 insertions, 0 deletions