summaryrefslogtreecommitdiff
path: root/TAO/tao/Dynamic_TP/DTP_Thread_Pool.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Dynamic_TP/DTP_Thread_Pool.h')
-rw-r--r--TAO/tao/Dynamic_TP/DTP_Thread_Pool.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/TAO/tao/Dynamic_TP/DTP_Thread_Pool.h b/TAO/tao/Dynamic_TP/DTP_Thread_Pool.h
index fc7d32d2ff0..9dbc121e046 100644
--- a/TAO/tao/Dynamic_TP/DTP_Thread_Pool.h
+++ b/TAO/tao/Dynamic_TP/DTP_Thread_Pool.h
@@ -53,7 +53,7 @@ public:
/// Leader/Follower class uses this method to notify the system that
/// we are out of leaders.
- bool no_leaders_available (void);
+ bool no_leaders_available ();
private:
/// Pool associated with this leader generator.
@@ -75,7 +75,7 @@ public:
TAO_DTP_Thread_Pool_Threads (TAO_DTP_Thread_Pool &pool);
/// Method executed when a thread is spawned.
- int svc (void);
+ int svc ();
/// Accessor to the pool to which this thread belongs to.
TAO_DTP_Thread_Pool &pool () const;
@@ -102,7 +102,7 @@ public:
TAO_DTP_Termination_Waiter (TAO_DTP_Thread_Pool &pool);
/// Method executed when a thread is spawned.
- int svc (void);
+ int svc ();
protected:
/// Pool to which this thread belongs to.
@@ -129,19 +129,19 @@ public:
TAO_DTP_Definition &definition);
/// Destructor.
- ~TAO_DTP_Thread_Pool (void);
+ ~TAO_DTP_Thread_Pool ();
/// Open the pool.
- void open (void);
+ void open ();
/// Wait for threads to exit.
- void wait (void);
+ void wait ();
/// Mark this thread pool that we are shutting down.
- void shutting_down (void);
+ void shutting_down ();
/// Create the initial threads - only called once.
- int create_initial_threads (void);
+ int create_initial_threads ();
/// Called by the TAO_DTP_New_Leader_Generator to request a new dynamic
/// thread.
@@ -152,11 +152,11 @@ public:
* @retval true A new thread is created
* @retval false No thread could be created
*/
- bool new_dynamic_thread (void);
+ bool new_dynamic_thread ();
/// Called by the run loop to determine if to expire a thread or not
/// when the dynamic timeout is reached.
- bool above_minimum (void);
+ bool above_minimum ();
/// @name Accessors
// @{
@@ -166,7 +166,7 @@ public:
TAO_DTP_Thread_Pool_Manager &manager () const;
CORBA::ULong id () const;
CORBA::ULong current_threads () const;
- void add_active (void);
+ void add_active ();
bool remove_active (bool force);
// @}
@@ -217,10 +217,10 @@ public:
TAO_DTP_Thread_Pool_Manager (TAO_ORB_Core &orb_core);
/// Destructor.
- ~TAO_DTP_Thread_Pool_Manager (void);
+ ~TAO_DTP_Thread_Pool_Manager ();
/// Wait for threads to exit.
- void wait (void);
+ void wait ();
/// Create a threadpool without lanes.
CORBA::ULong create_threadpool (TAO_DTP_Definition &def);