[6916] Fixed typos in spell checking code.
[getmangos.git] / dep / ACE_wrappers / ace / Null_Barrier.h
blob5cd9ef8386f775536c9f994e34d26348358c58c8
1 // -*- C++ -*-
3 //==========================================================================
4 /**
5 * @file Null_Barrier.h
7 * $Id: Null_Barrier.h 80826 2008-03-04 14:51:23Z wotte $
9 * Moved from Synch.h.
11 * @author Douglas C. Schmidt <schmidt@cs.wustl.edu>
13 //==========================================================================
15 #ifndef ACE_NULL_BARRIER_H
16 #define ACE_NULL_BARRIER_H
17 #include /**/ "ace/pre.h"
19 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
21 // All methods in this class are inline, so there is no
22 // need to import or export on Windows. -- CAE 12/18/2003
24 /**
25 * @class ACE_Null_Barrier
27 * @brief Implements "NULL barrier synchronization".
29 class ACE_Null_Barrier
31 public:
32 /// Initialize the barrier to synchronize <count> threads.
33 ACE_Null_Barrier (unsigned int,
34 const char * = 0,
35 void * = 0) {};
37 /// Default dtor.
38 ~ACE_Null_Barrier (void) {};
40 /// Block the caller until all <count> threads have called <wait> and
41 /// then allow all the caller threads to continue in parallel.
42 int wait (void) { return 0; };
44 /// Dump the state of an object.
45 void dump (void) const {};
47 /// Declare the dynamic allocation hooks.
48 //ACE_ALLOC_HOOK_DECLARE;
50 private:
51 // = Prevent assignment and initialization.
52 void operator= (const ACE_Null_Barrier &);
53 ACE_Null_Barrier (const ACE_Null_Barrier &);
56 ACE_END_VERSIONED_NAMESPACE_DECL
58 #include /**/ "ace/post.h"
59 #endif /* ACE_NULL_BARRIER_H */