mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 01:37:00 +00:00
Some missing from merge.
Signed-off-by: Salja <salja2012@hotmail.de>
This commit is contained in:
parent
ec939a5bce
commit
f4be15a7af
1895 changed files with 160408 additions and 53601 deletions
|
|
@ -4,9 +4,11 @@
|
|||
/**
|
||||
* @file Condition_Thread_Mutex.h
|
||||
*
|
||||
* $Id: Condition_Thread_Mutex.h 96073 2012-08-17 13:39:55Z mcorino $
|
||||
*
|
||||
* Moved from Synch.h.
|
||||
*
|
||||
* @author Douglas C. Schmidt <d.schmidt@vanderbilt.edu>
|
||||
* @author Douglas C. Schmidt <schmidt@cs.wustl.edu>
|
||||
*/
|
||||
//==========================================================================
|
||||
|
||||
|
|
@ -76,9 +78,9 @@ public:
|
|||
|
||||
/**
|
||||
* Block on condition, or until absolute time-of-day has passed. If
|
||||
* abstime == 0 use "blocking" wait semantics. Else, if @a abstime
|
||||
* abstime == 0 use "blocking" <wait> semantics. Else, if @a abstime
|
||||
* != 0 and the call times out before the condition is signaled
|
||||
* wait() returns -1 and sets errno to ETIME.
|
||||
* <wait> returns -1 and sets errno to ETIME.
|
||||
*/
|
||||
int wait (const ACE_Time_Value *abstime);
|
||||
|
||||
|
|
@ -117,11 +119,11 @@ protected:
|
|||
/// Reference to mutex lock.
|
||||
ACE_Thread_Mutex &mutex_;
|
||||
|
||||
/// Keeps track of whether remove() has been called yet to avoid
|
||||
/// multiple remove() calls, e.g., explicitly and implicitly in the
|
||||
/// Keeps track of whether <remove> has been called yet to avoid
|
||||
/// multiple <remove> calls, e.g., explicitly and implicitly in the
|
||||
/// destructor. This flag isn't protected by a lock, so make sure
|
||||
/// that you don't have multiple threads simultaneously calling
|
||||
/// remove() on the same object, which is a bad idea anyway...
|
||||
/// <remove> on the same object, which is a bad idea anyway...
|
||||
bool removed_;
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue