summaryrefslogtreecommitdiff
path: root/TAO/tests/CSD_Strategy_Tests/TP_Common/AppShutdown.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/CSD_Strategy_Tests/TP_Common/AppShutdown.h')
-rw-r--r--TAO/tests/CSD_Strategy_Tests/TP_Common/AppShutdown.h28
1 files changed, 13 insertions, 15 deletions
diff --git a/TAO/tests/CSD_Strategy_Tests/TP_Common/AppShutdown.h b/TAO/tests/CSD_Strategy_Tests/TP_Common/AppShutdown.h
index a8307ab45b4..bbc8ba0cd90 100644
--- a/TAO/tests/CSD_Strategy_Tests/TP_Common/AppShutdown.h
+++ b/TAO/tests/CSD_Strategy_Tests/TP_Common/AppShutdown.h
@@ -7,29 +7,27 @@
class CSD_TP_Test_Export AppShutdown
{
- public:
+public:
+ AppShutdown();
+ virtual ~AppShutdown();
- AppShutdown();
- virtual ~AppShutdown();
+ void init(CORBA::ORB_ptr orb,
+ unsigned num_clients);
- void init(CORBA::ORB_ptr orb,
- unsigned num_clients);
+ void wait ();
- void wait ();
+ void client_done();
- void client_done();
+ static AppShutdown* instance ();
- static AppShutdown* instance ();
+private:
+ CORBA::ORB_var orb_;
+ unsigned num_clients_;
+ ACE_Atomic_Op <TAO_SYNCH_MUTEX, unsigned> num_clients_shutdown_;
- private:
- CORBA::ORB_var orb_;
- unsigned num_clients_;
- ACE_Atomic_Op <TAO_SYNCH_MUTEX, unsigned> num_clients_shutdown_;
-
- OrbShutdownTask orb_shutdown_task_;
+ OrbShutdownTask orb_shutdown_task_;
};
-
#define TheAppShutdown AppShutdown::instance()
#endif