diff options
| author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-06-27 02:34:18 +0200 |
|---|---|---|
| committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-06-27 02:34:18 +0200 |
| commit | 726117e01b59b129d471304fec4bf78fa280ff9e (patch) | |
| tree | 7863a09ccc234c98c259d767ead0af31f81d8ae3 /stdlib/stdlib.h | |
| parent | b9ca3f3efb4659cadf4b0b81308ce9d45de61e0b (diff) | |
| download | 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 'stdlib/stdlib.h')
0 files changed, 0 insertions, 0 deletions
