diff options
Diffstat (limited to 'ACE/ace/Barrier.h')
-rw-r--r-- | ACE/ace/Barrier.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ACE/ace/Barrier.h b/ACE/ace/Barrier.h index d6efaf2b890..58cba3f2610 100644 --- a/ACE/ace/Barrier.h +++ b/ACE/ace/Barrier.h @@ -59,7 +59,7 @@ struct ACE_Export ACE_Sub_Barrier const ACE_TCHAR *name = 0, void *arg = 0); - ~ACE_Sub_Barrier (void); + ~ACE_Sub_Barrier (); /// True if this generation of the barrier is done. ACE_Condition_Thread_Mutex barrier_finished_; @@ -68,7 +68,7 @@ struct ACE_Export ACE_Sub_Barrier int running_threads_; /// Dump the state of an object. - void dump (void) const; + void dump () const; /// Declare the dynamic allocation hooks. ACE_ALLOC_HOOK_DECLARE; @@ -100,7 +100,7 @@ public: void *arg = 0); /// Default destructor. - ~ACE_Barrier (void); + ~ACE_Barrier (); /// Block the caller until all @c count threads have called @c wait and /// then allow all the caller threads to continue in parallel. @@ -108,7 +108,7 @@ public: /// @retval 0 after successfully waiting for all threads to wait. /// @retval -1 if an error occurs or the barrier is shut /// down (@sa shutdown ()). - int wait (void); + int wait (); /// Shut the barrier down, aborting the wait of all waiting threads. /// Any threads waiting on the barrier when it is shut down will return with @@ -117,10 +117,10 @@ public: /// @retval 0 for success, -1 if already shut down. /// /// @since ACE beta 5.4.9. - int shutdown (void); + int shutdown (); /// Dump the state of an object. - void dump (void) const; + void dump () const; /// Declare the dynamic allocation hooks. ACE_ALLOC_HOOK_DECLARE; @@ -169,10 +169,10 @@ public: ACE_Thread_Barrier (unsigned int count, const ACE_TCHAR *name = 0); /// Default destructor. - ~ACE_Thread_Barrier (void); + ~ACE_Thread_Barrier (); /// Dump the state of an object. - void dump (void) const; + void dump () const; /// Declare the dynamic allocation hooks. ACE_ALLOC_HOOK_DECLARE; |