mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-18 19:46:14 +02:00
abortable sleep
This commit is contained in:
parent
7353383313
commit
d41d314e27
5 changed files with 35 additions and 21 deletions
server/streamreader
|
@ -59,7 +59,7 @@ void Watchdog::stop()
|
|||
|
||||
void Watchdog::trigger()
|
||||
{
|
||||
std::unique_lock<std::mutex> lck(mtx_);
|
||||
// std::unique_lock<std::mutex> lck(mtx_);
|
||||
cv_.notify_one();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue