-
Committer:
Dominic Sacré
-
Date:
2011-07-25 00:22:58 UTC
-
mto:
(3066.5.2)
-
mto:
This revision was merged to the branch mainline in
revision
3719.
-
Revision ID:
git-v1:3b6f974032d8e56e0791c04b0eb6871bfeedd637
fix racy queue thread wakeup
- use g_cond_timed_wait() to automatically wake up the queue thread at a
certain interval
- properly utilize the mutex with g_cond_signal() and
g_cond_timed_wait()
- it's still possible to miss a signal when the mutex can't be locked,
but locking it wouldn't be realtime safe. hence the timeout...