Module Name: src Committed By: riastradh Date: Mon Mar 31 14:07:10 UTC 2025
Modified Files: src/lib/libpthread: pthread.c pthread_cancelstub.c pthread_cond.c pthread_int.h src/tests/lib/libpthread: t_cancellation.c Log Message: pthread_cancel(3): Rework. Make pthread_setcancelstate(3) async-signal-safe. (As a side effect, this also makes pthread_setcanceltype(3) async-signal-safe, although that is not required.) PR lib/59134: POSIX-1.2024: pthread_setcancelstate must be async-signal-safe To generate a diff of this commit: cvs rdiff -u -r1.185 -r1.186 src/lib/libpthread/pthread.c cvs rdiff -u -r1.45 -r1.46 src/lib/libpthread/pthread_cancelstub.c cvs rdiff -u -r1.77 -r1.78 src/lib/libpthread/pthread_cond.c cvs rdiff -u -r1.112 -r1.113 src/lib/libpthread/pthread_int.h cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libpthread/t_cancellation.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.