diff options
Diffstat (limited to 'src/thread/pthread_self.c')
| -rw-r--r-- | src/thread/pthread_self.c | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/src/thread/pthread_self.c b/src/thread/pthread_self.c index 83efa9e8..e26476ce 100644 --- a/src/thread/pthread_self.c +++ b/src/thread/pthread_self.c @@ -14,6 +14,7 @@ static int *errno_location()  static int init_main_thread()  { +	main_thread.canceldisable = libc.canceldisable;  	main_thread.tsd = (void **)__pthread_tsd_main;  	main_thread.self = &main_thread;  	if (__set_thread_area(&main_thread) < 0) | 
