Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /ptw32_new.c [559e1b] .. [22df4f] Maximize Restore

  Switch to side-by-side view

--- a/ptw32_new.c
+++ b/ptw32_new.c
@@ -70,6 +70,7 @@
     }
 
   /* Set default state. */
+  tp->seqNumber = ++ptw32_threadSeqNumber;
   tp->sched_priority = THREAD_PRIORITY_NORMAL;
   tp->detachState = PTHREAD_CREATE_JOINABLE;
   tp->cancelState = PTHREAD_CANCEL_ENABLE;