diff options
Diffstat (limited to 'sysdeps/mach/pt-thread-dealloc.c')
-rw-r--r-- | sysdeps/mach/pt-thread-dealloc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/mach/pt-thread-dealloc.c b/sysdeps/mach/pt-thread-dealloc.c index 55d8c4d..0c4a4fc 100644 --- a/sysdeps/mach/pt-thread-dealloc.c +++ b/sysdeps/mach/pt-thread-dealloc.c @@ -38,4 +38,6 @@ __pthread_thread_dealloc (struct __pthread *thread) assert. */ __mach_port_destroy (__mach_task_self (), thread->wakeupmsg.msgh_remote_port); + + thread->have_kernel_resources = 0; } |