From bf619d82c82052741323aa63c107fbd346c8aaba Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 29 Mar 2011 12:58:22 -0400 Subject: major improvements to cancellation handling - there is no longer any risk of spoofing cancellation requests, since the cancel flag is set in pthread_cancel rather than in the signal handler. - cancellation signal is no longer unblocked when running the cancellation handlers. instead, pthread_create will cause any new threads created from a cancellation handler to unblock their own cancellation signal. - various tweaks in preparation for POSIX timer support. --- src/internal/libc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/internal/libc.h') diff --git a/src/internal/libc.h b/src/internal/libc.h index bbbb3a4c..c83fcafe 100644 --- a/src/internal/libc.h +++ b/src/internal/libc.h @@ -18,6 +18,7 @@ struct __libc { FILE *ofl_head; int ofl_lock; void (*lockfile)(FILE *); + void (*sigtimer)(); }; -- cgit v1.2.1