diff options
Diffstat (limited to 'winsup/cygwin/thread.cc')
-rw-r--r-- | winsup/cygwin/thread.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/thread.cc b/winsup/cygwin/thread.cc index b6c2e94d5..39e33d17c 100644 --- a/winsup/cygwin/thread.cc +++ b/winsup/cygwin/thread.cc @@ -3288,6 +3288,7 @@ pthread_null::create (void *(*)(void *), pthread_attr *, void *) void pthread_null::exit (void *value_ptr) { + _my_tls.remove (INFINITE); ExitThread (0); } |