summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/sigproc.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2017-03-07 15:15:47 +0100
committerCorinna Vinschen <corinna@vinschen.de>2017-03-07 15:15:47 +0100
commit49505a907f3fb690e7db81dde9b70067664c1d83 (patch)
tree33222e8e263aa231749d3df6920b034d3ab43cad /winsup/cygwin/sigproc.h
parent88443b0a2258993a20fb5d1d886860646e5202cc (diff)
downloadcygnal-49505a907f3fb690e7db81dde9b70067664c1d83.tar.gz
cygnal-49505a907f3fb690e7db81dde9b70067664c1d83.tar.bz2
cygnal-49505a907f3fb690e7db81dde9b70067664c1d83.zip
Cygwin: pthread_cond_wait: Do as Linux and BSD do.
POSIX states as follows about pthread_cond_wait: If a signal is delivered to a thread waiting for a condition variable, upon return from the signal handler the thread resumes waiting for the condition variable as if it was not interrupted, or it returns zero due to spurious wakeup. Cygwin so far employs the latter behaviour, while Linux and BSD employ the former one. Align Cygwin behaviour to Linux and BSD. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin/sigproc.h')
0 files changed, 0 insertions, 0 deletions