1
0
Fork 0
mirror of https://github.com/badaix/snapcast.git synced 2025-05-18 19:46:14 +02:00

abortable sleep

This commit is contained in:
badaix 2016-11-06 18:51:29 +01:00
parent 7353383313
commit d41d314e27
5 changed files with 35 additions and 21 deletions
server/streamreader

View file

@ -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();
}