]> sourceware.org Git - glibc.git/commit
htl: avoid cancelling threads inside critical sections
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 27 Jun 2020 00:34:18 +0000 (02:34 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 27 Jun 2020 00:34:18 +0000 (02:34 +0200)
commit726117e01b59b129d471304fec4bf78fa280ff9e
tree7863a09ccc234c98c259d767ead0af31f81d8ae3
parentb9ca3f3efb4659cadf4b0b81308ce9d45de61e0b
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.
sysdeps/mach/hurd/htl/pt-docancel.c
This page took 0.042076 seconds and 5 git commands to generate.