mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-25 23:16:14 +02:00
mutex
git-svn-id: svn://elaine/murooma/trunk@312 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
8710e5e898
commit
e3344534fd
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ void ClientConnection::getNextMessage()
|
|||
req->response->message = baseMessage;
|
||||
req->response->buffer = (char*)malloc(baseMessage.size);
|
||||
memcpy(req->response->buffer, &buffer[0], baseMessage.size);
|
||||
std::unique_lock<std::mutex> lck(m);
|
||||
// std::unique_lock<std::mutex> lck(m);
|
||||
req->cv.notify_one();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue