From d83c59819fb1e9b0375e84acaf803f96fbfc440b Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Mon, 16 Aug 2010 03:06:28 +0000 Subject: [PATCH] Fix deadlock on pthreads-using platforms Originally committed to SVN as r4748. --- aegisub/src/threaded_frame_source.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/aegisub/src/threaded_frame_source.cpp b/aegisub/src/threaded_frame_source.cpp index ecece1dbc..0c0a3ab9c 100644 --- a/aegisub/src/threaded_frame_source.cpp +++ b/aegisub/src/threaded_frame_source.cpp @@ -123,6 +123,7 @@ void *ThreadedFrameSource::Entry() { } if (nextTime == -1.) { jobReady.Wait(); + jobMutex.Unlock(); continue; }