2d81cd746b
critical region, we wrap some syscalls for thread cancellation point, and when syscalls returns, we call _thr_leave_cancellation_point, at the time if a signal comes in, it would be buffered, and when the thread leaves _thr_leave_cancellation_point, buffered signals will be processed, to avoid messing up normal syscall errno, we should save and restore errno around signal handling code. |
||
---|---|---|
.. | ||
arch | ||
man | ||
support | ||
sys | ||
test | ||
thread | ||
Makefile | ||
pthread.map |