summaryrefslogtreecommitdiff
path: root/include/osl/conditn.hxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2013-12-02 11:54:28 +0000
committerMichael Meeks <michael.meeks@collabora.com>2013-12-02 11:54:59 +0000
commit3c2e8e3484d670aeb42e540b409543fe01ac5bb9 (patch)
treeaac01a8da5cf17360baa2fb2e7a6211488a4fd62 /include/osl/conditn.hxx
parentab4f01412b833dc08f1d64a93addb7751d051af7 (diff)
add health warning on osl condition.
Change-Id: I24619afb8b1ea0410e95e60fe70b5166e18fab44
Diffstat (limited to 'include/osl/conditn.hxx')
-rw-r--r--include/osl/conditn.hxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/osl/conditn.hxx b/include/osl/conditn.hxx
index 5ca0323c2aa8..337d651ab2a0 100644
--- a/include/osl/conditn.hxx
+++ b/include/osl/conditn.hxx
@@ -29,7 +29,14 @@
namespace osl
{
-
+ /**
+ * Warning: the Condition abstraction is inadequate for any
+ * situation where there may be multiple threads setting,
+ * waiting, and resetting the same condition. It can only be
+ * used to synchronise interactions between two threads
+ * cf. lost wakeups in:
+ * http://www.cs.wustl.edu/~schmidt/win32-cv-1.html
+ */
class Condition
{
public: