summaryrefslogtreecommitdiff
path: root/ptw32_new.c
diff options
context:
space:
mode:
Diffstat (limited to 'ptw32_new.c')
-rw-r--r--ptw32_new.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ptw32_new.c b/ptw32_new.c
index 881c6ac..ac836ea 100644
--- a/ptw32_new.c
+++ b/ptw32_new.c
@@ -70,6 +70,7 @@ ptw32_new (void)
}
/* Set default state. */
+ tp->seqNumber = ++ptw32_threadSeqNumber;
tp->sched_priority = THREAD_PRIORITY_NORMAL;
tp->detachState = PTHREAD_CREATE_JOINABLE;
tp->cancelState = PTHREAD_CANCEL_ENABLE;