cec: reset m_bStop to false in CreateThread()
authorLars Op den Kamp <lars@opdenkamp.eu>
Mon, 23 Jan 2012 15:53:07 +0000 (16:53 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Mon, 23 Jan 2012 15:53:07 +0000 (16:53 +0100)
src/lib/platform/threads/threads.h

index 74d683f273fa5056916d47300302f7f8f1f6da2c..7fea6026a228ede1ecd43023d2d6d5433ac12562 100644 (file)
@@ -87,6 +87,7 @@ namespace PLATFORM
         CLockObject lock(m_threadMutex);
         if (!IsRunning())
         {
+          m_bStop = false;
           if (ThreadsCreate(m_thread, CThread::ThreadHandler, ((void*)static_cast<CThread *>(this))))
           {
             if (bWait)