diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-09-02 15:16:36 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-09-02 15:16:36 -0400 |
commit | 3c0501d28c1491ce9a4f675e9e223a8dfd9e134c (patch) | |
tree | fd32e20f204f9faef5bff8a33167f82b410f9cef /src/thread/pthread_mutex_trylock.c | |
parent | a731e4103b87cb02b763f2e3f73cc43c72bdf65f (diff) | |
download | musl-3c0501d28c1491ce9a4f675e9e223a8dfd9e134c.tar.gz musl-3c0501d28c1491ce9a4f675e9e223a8dfd9e134c.tar.xz musl-3c0501d28c1491ce9a4f675e9e223a8dfd9e134c.zip |
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/pthread_mutex_trylock.c')
0 files changed, 0 insertions, 0 deletions