mirror of https://github.com/debauchee/barrier.git
014578b875
function. Because synergy doesn't use posix cancellation, it cannot wake up a thread waiting on a condition variable. So the wrapper would wake up periodically to test if the thread was cancelled (according to synergy's cancellation state) then go back to waiting. Well the condition could be signalled while we're testing and be lost and we'd never return from the wait. So now we wake up after a maximum timeout and return to the caller. The caller must check for this spurious wakeup but all callers should do this anyway so we're okay there. |
||
---|---|---|
.. | ||
arch | ||
base | ||
client | ||
common | ||
io | ||
mt | ||
net | ||
platform | ||
server | ||
synergy | ||
Makefile.am |