Skip to content

Guard GLib.Cond.wait/wait_until calls against spurious or stolen wakeups

Rico Tzschichholz requested to merge wip/issue/34 into master

It is possible that a spurious or stolen wakeup could occur. For that reason, waiting on a condition variable should always be in a loop, based on an explicitly-checked predicate.

Fixes #34 (closed)

Merge request reports