summaryrefslogtreecommitdiff
path: root/ptw32_new.c
diff options
context:
space:
mode:
authorrpj <rpj>2011-03-26 00:19:09 +0000
committerrpj <rpj>2011-03-26 00:19:09 +0000
commit22df4f5c42b3ac110f78fceed8d248900ea5419f (patch)
tree9940490b9d0e52ccc681fad4d49eb1397d3172be /ptw32_new.c
parent559e1bc4051f90d7a014bd4e4f5649e136dec412 (diff)
New interface (not part of robust mutexes)
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;