summaryrefslogtreecommitdiff
path: root/examples/CSD_Strategy/ThreadPool5/FooServantList.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/CSD_Strategy/ThreadPool5/FooServantList.h')
-rw-r--r--examples/CSD_Strategy/ThreadPool5/FooServantList.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/examples/CSD_Strategy/ThreadPool5/FooServantList.h b/examples/CSD_Strategy/ThreadPool5/FooServantList.h
index f0a7ccc1198..13ec1db2ede 100644
--- a/examples/CSD_Strategy/ThreadPool5/FooServantList.h
+++ b/examples/CSD_Strategy/ThreadPool5/FooServantList.h
@@ -32,16 +32,12 @@ class FooServantList
void deactivate_servant (void);
private:
-
- typedef TAO_SYNCH_MUTEX LockType;
- typedef ACE_Guard<LockType> GuardType;
-
Foo_i** servants_;
PortableServer::ServantBase_var* safe_servants_;
ACE_TString prefix_;
unsigned num_servants_;
- LockType num_clients_lock_;
+ TAO_SYNCH_MUTEX num_clients_lock_;
unsigned num_clients_;
unsigned init_num_clients_;
int collocated_test_;