mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38: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;
|
||||
@ -167,4 +167,4 @@ bool lgResetEvent(LGEvent * handle)
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user