diff --git a/src/threading/ipc_channel.cpp b/src/threading/ipc_channel.cpp index fbe65a3cb..4e9fe8a72 100644 --- a/src/threading/ipc_channel.cpp +++ b/src/threading/ipc_channel.cpp @@ -147,8 +147,8 @@ static void post(IPCChannelBuffer *buf) noexcept { pthread_mutex_lock(&buf->mutex); buf->posted = true; - pthread_cond_broadcast(&buf->cond); pthread_mutex_unlock(&buf->mutex); + pthread_cond_broadcast(&buf->cond); } #endif