summaryrefslogtreecommitdiff
path: root/src/lib/writer.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-10-08 23:46:21 +0200
committerCarl Hetherington <cth@carlh.net>2025-10-10 21:13:04 +0200
commitc39eb25116392813e064c963a9bce014e92805b3 (patch)
treee7cf32c442018aa9611dd270d58f95471da57ef7 /src/lib/writer.cc
parent81137ff8b9ea1ac55f973df11d55bcae56c1ee02 (diff)
Allow Waker to keep different things awake for different reasons.
Diffstat (limited to 'src/lib/writer.cc')
-rw-r--r--src/lib/writer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/writer.cc b/src/lib/writer.cc
index 80ffb2913..7121c594b 100644
--- a/src/lib/writer.cc
+++ b/src/lib/writer.cc
@@ -923,7 +923,7 @@ Writer::set_digest_progress(Job* job, int id, int64_t done, int64_t size)
job->set_progress(float(total_done) / total_size);
- Waker waker;
+ Waker waker(Waker::Reason::ENCODING);
waker.nudge();
boost::this_thread::interruption_point();