mirror of https://github.com/odrling/Aegisub
Fix deadlock on pthreads-using platforms
Originally committed to SVN as r4748.
This commit is contained in:
parent
714fa65071
commit
d83c59819f
|
@ -123,6 +123,7 @@ void *ThreadedFrameSource::Entry() {
|
||||||
}
|
}
|
||||||
if (nextTime == -1.) {
|
if (nextTime == -1.) {
|
||||||
jobReady.Wait();
|
jobReady.Wait();
|
||||||
|
jobMutex.Unlock();
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue