Summary: | lock mutex before trying to unlock it | ||
---|---|---|---|
Product: | PolicyKit | Reporter: | Antoine Jacoutot <ajacoutot> |
Component: | daemon | Assignee: | David Zeuthen (not reading bugmail) <zeuthen> |
Status: | RESOLVED FIXED | QA Contact: | David Zeuthen (not reading bugmail) <zeuthen> |
Severity: | major | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | OpenBSD | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Antoine Jacoutot
2012-11-20 14:21:02 UTC
Yup, we were forgetting to lock the mutex before calling wait() on the condition variable. I've fixed it up so it follows the example in http://developer.gnome.org/glib/unstable/glib-Threads.html#GCond with this commit http://cgit.freedesktop.org/polkit/commit/?id=85ae5715fc05579f6c1b5424bb5ebbb183265eae |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.