[PATCH] Avoid cancellation point in pthread_mutex_lock etc. in linuxthreads

Roland McGrath roland@redhat.com
Wed Apr 2 00:11:00 GMT 2003


> linuxthreads call sigsuspend from pthread_mutex_lock etc., so when sigsuspend
> was made cancellation point in December, suddenly all pthread primitives
> which wait for restart signals are cancellation points.
> Fix below, tested on all the usual arches.

I put these in.

Thanks,
Roland



More information about the Libc-hacker mailing list