Permalink
Browse files

Fixes #11061. Speed up TFW recovery after falling behind on writes.

Signed-off-by: Daniel Thor Kristjansson <danielk@cuymedia.net>
  • Loading branch information...
Bill authored and daniel-kristjansson committed Oct 12, 2012
1 parent 7a08dd5 commit dc0bf9b03248775bbd186f4029b217bba9d4b6a6
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmythtv/ThreadedFileWriter.cpp
@@ -483,7 +483,7 @@ void ThreadedFileWriter::DiskLoop(void)
locker.relock();
if (!in_dtor)
if ((tot < sz) && !in_dtor)
bufferHasData.wait(locker.mutex(), 50);
}

0 comments on commit dc0bf9b

Please sign in to comment.