From f5251d5b6036a10d2ad4338c0d0b789644da7b1d Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Thu, 3 Dec 2009 12:47:29 +0000 Subject: [PATCH] Added comment regarding use restriction. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34460 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/kernel/condition_variable.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/headers/private/kernel/condition_variable.h b/headers/private/kernel/condition_variable.h index 914cb2cded..14f8044026 100644 --- a/headers/private/kernel/condition_variable.h +++ b/headers/private/kernel/condition_variable.h @@ -69,6 +69,9 @@ public: static void NotifyAll(const void* object, bool threadsLocked = false, status_t result = B_OK); + // (both methods) caller must ensure that + // the variable is not unpublished + // concurrently void Add(ConditionVariableEntry* entry);