openbsd-ports/audio/audacity/patches/patch-src_ondemand_ODManager_cpp

14 lines
614 B
Plaintext

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