mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-09-01 12:25:09 +00:00
[common] linux: signal should signal all listeners
This commit is contained in:
@@ -139,7 +139,7 @@ bool lgSignalEvent(LGEvent * handle)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pthread_cond_signal(&handle->cond) != 0)
|
if (pthread_cond_broadcast(&handle->cond) != 0)
|
||||||
{
|
{
|
||||||
DEBUG_ERROR("Failed to signal the condition");
|
DEBUG_ERROR("Failed to signal the condition");
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user