[licq-im/licq] 2f25b6: Re-evaluate predicate after returning from conditi...
[email protected] Tue, 20 Dec 2011 11:37:43 -0800
| Newsgroups | gmane.network.licq.cvs |
|---|---|
| Message-ID | <[email protected]> |
Branch: refs/heads/1.6-stable
Home: https://github.com/licq-im/licq
Commit: 2f25b63d4393620d5b3cf1cc9505b34055588dee
https://github.com/licq-im/licq/commit/2f25b63d4393620d5b3cf1cc9505b34055588dee
Author: Erik Johansson <[email protected]>
Date: 2011-12-20 (Tue, 20 Dec 2011)
Changed paths:
M licq/src/plugin/pluginthread.cpp
Log Message:
-----------
Re-evaluate predicate after returning from condition wait
This is needed because pthread_cond_wait() can wake up for no apparent reason
(i.e. not due to a call to pthread_cond_signal() or
pthread_cond_broadcast()). See [1]. Should hopefully solve #18.
[1] - http://lists.freebsd.org/pipermail/freebsd-hackers/2011-February/034573.html