All pastes #1746176 Raw Edit

Untitled

public text v1 · immutable
#1746176 ·published 2010-01-10 23:33 UTC
rendered paste body
Index: libs/csutil/threading/pthread_thread.cpp
===================================================================
--- libs/csutil/threading/pthread_thread.cpp    (revision 33530)
+++ libs/csutil/threading/pthread_thread.cpp    (working copy)
@@ -65,6 +65,7 @@
       runnable->Run ();
 
       // Set as non-running
+      AtomicOperations::Set (isRunningPtr, 0);
       
       pthread_exit (0);
       return 0;