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