changed the year in copyright notices to 2011-2012
[deb_libcec.git] / src / lib / platform / threads / threads.h
index 74d683f273fa5056916d47300302f7f8f1f6da2c..4d6f729090ee4799fb9b075b8aba8319e807bff0 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * This file is part of the libCEC(R) library.
  *
- * libCEC(R) is Copyright (C) 2011 Pulse-Eight Limited.  All rights reserved.
+ * libCEC(R) is Copyright (C) 2011-2012 Pulse-Eight Limited.  All rights reserved.
  * libCEC(R) is an original work, containing original code.
  *
  * libCEC(R) is a trademark of Pulse-Eight Limited.
@@ -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)