mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-22 19:58:09 +00:00
[common] linux: signal should signal all listeners
This commit is contained in:
parent
5a23d048bd
commit
8dbc1daaf4
2 changed files with 3 additions and 3 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
B1-122-gb658ea6459+1
|
B1-123-g5a23d048bd+1
|
|
@ -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;
|
||||||
|
@ -167,4 +167,4 @@ bool lgResetEvent(LGEvent * handle)
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue