patch-src_ondemand_ODManager_cpp 614 B

1234567891011121314
  1. $OpenBSD: patch-src_ondemand_ODManager_cpp,v 1.1 2012/09/03 09:09:37 stsp Exp $
  2. fix abort() in pthread_mutex_unlock()
  3. --- src/ondemand/ODManager.cpp.orig Mon Sep 3 01:04:47 2012
  4. +++ src/ondemand/ODManager.cpp Mon Sep 3 01:05:08 2012
  5. @@ -283,7 +283,7 @@ void ODManager::Start()
  6. //the thread will add it back to the array if the job is not yet done at the end of the thread's run.
  7. //mTasks.erase(mTasks.begin());
  8. - mTasksMutex.Unlock();
  9. + //mTasksMutex.Unlock();
  10. //detach a new thread.
  11. thread = new ODTaskThread(mTasks[0]);//task);