[common] linux: signal should signal all listeners

This commit is contained in:
Geoffrey McRae 2020-01-27 14:33:57 +11:00
parent 5a23d048bd
commit 8dbc1daaf4
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
B1-122-gb658ea6459+1 B1-123-g5a23d048bd+1

View File

@ -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;