summaryrefslogtreecommitdiff
path: root/src/lib/encoder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/encoder.cc')
-rw-r--r--src/lib/encoder.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/encoder.cc b/src/lib/encoder.cc
index f6d0cc40e..ef8866897 100644
--- a/src/lib/encoder.cc
+++ b/src/lib/encoder.cc
@@ -577,10 +577,12 @@ Encoder::writer_thread ()
{
while (1)
{
+ TIMING ("writer sleeps");
boost::mutex::scoped_lock lock (_writer_mutex);
while (_write_queue.empty() && !_terminate_writer) {
_writer_condition.wait (lock);
}
+ TIMING ("writer wakes with a queue of %1", _write_queue.size());
if (_terminate_writer) {
return;