thread/*Cond: rename methods to match std::condition_variable

This commit is contained in:
Max Kellermann
2019-04-25 18:33:09 +02:00
parent 5bc8cd0ecb
commit b51bae5500
25 changed files with 72 additions and 72 deletions

View File

@@ -450,7 +450,7 @@ decoder_run_song(DecoderControl &dc,
throw FormatRuntimeError("Failed to decode %s", error_uri);
}
dc.client_cond.signal();
dc.client_cond.notify_one();
}
/**
@@ -479,7 +479,7 @@ try {
dc.state = DecoderState::ERROR;
dc.command = DecoderCommand::NONE;
dc.error = std::current_exception();
dc.client_cond.signal();
dc.client_cond.notify_one();
}
void