about summary refs log tree commit diff
path: root/gnulib
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-06-27 02:34:18 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-06-27 02:34:18 +0200
commit726117e01b59b129d471304fec4bf78fa280ff9e (patch)
tree7863a09ccc234c98c259d767ead0af31f81d8ae3 /gnulib
parentb9ca3f3efb4659cadf4b0b81308ce9d45de61e0b (diff)
downloadglibc-726117e01b59b129d471304fec4bf78fa280ff9e.tar.gz
glibc-726117e01b59b129d471304fec4bf78fa280ff9e.tar.xz
glibc-726117e01b59b129d471304fec4bf78fa280ff9e.zip
htl: avoid cancelling threads inside critical sections
Like hurd_thread_cancel does.

* sysdeps/mach/hurd/htl/pt-docancel.c: Include <hurd/signal.h>
(__pthread_do_cancel): Lock target thread's critical_section_lock and ss
lock around thread mangling.
Diffstat (limited to 'gnulib')
0 files changed, 0 insertions, 0 deletions