aboutsummaryrefslogtreecommitdiff
path: root/nptl/pthread_setschedparam.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-05-15 20:42:36 -0700
committerUlrich Drepper <drepper@redhat.com>2009-05-15 20:42:36 -0700
commit9437b427cec6266abd303983848549a5c4ba0d0a (patch)
tree7d3c7df6abb9a33d4f35a3dc20baa59ff1a53ea1 /nptl/pthread_setschedparam.c
parentbbc5d74dd0bd1c3dbe7ea8515f081dc7e318272c (diff)
downloadglibc-9437b427cec6266abd303983848549a5c4ba0d0a.tar
glibc-9437b427cec6266abd303983848549a5c4ba0d0a.tar.gz
glibc-9437b427cec6266abd303983848549a5c4ba0d0a.tar.bz2
glibc-9437b427cec6266abd303983848549a5c4ba0d0a.zip
Fix change to prevent cancel signal in unsafe places.
The bits tested to decide when to delay the return when switching off async cancel mode were wrong. Fix that. Also close a race condition in pthread_cancel where the bit indicating the cancellation is unconditionally set even if the cancel type might have changed.
Diffstat (limited to 'nptl/pthread_setschedparam.c')
0 files changed, 0 insertions, 0 deletions