summaryrefslogtreecommitdiff
path: root/lib/libpthread/thread/thr_create.c
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2004-10-23 23:28:36 +0000
committerDavid Xu <davidxu@FreeBSD.org>2004-10-23 23:28:36 +0000
commitb4f9f84b962fcd8c899067dbfa2976254213d9df (patch)
tree95da86c441c1081dff7d70fbd4ecebcf91db48ea /lib/libpthread/thread/thr_create.c
parent1be7387c0321b6d8261fdc8da98c391624f138f9 (diff)
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_create.c')
-rw-r--r--lib/libpthread/thread/thr_create.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libpthread/thread/thr_create.c b/lib/libpthread/thread/thr_create.c
index 54bcd3b0780e..03f467b00674 100644
--- a/lib/libpthread/thread/thr_create.c
+++ b/lib/libpthread/thread/thr_create.c
@@ -234,6 +234,7 @@ _pthread_create(pthread_t * thread, const pthread_attr_t * attr,
new_thread->specific_data_count = 0;
new_thread->cleanup = NULL;
new_thread->flags = 0;
+ new_thread->tlflags = 0;
new_thread->continuation = NULL;
new_thread->wakeup_time.tv_sec = -1;
new_thread->lock_switch = 0;