diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-11-10 13:02:34 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-11-10 13:02:34 +0100 |
commit | 5d2998307d73df53fe6a50595f96d53466ab9202 (patch) | |
tree | 3b8e2a5eff9e99b0faa1870df6a3a7a6ed1ff29e /TAO/examples | |
parent | 1f9d67610bb4519cbd2cb63108dee246a964178c (diff) | |
download | ATCD-5d2998307d73df53fe6a50595f96d53466ab9202.tar.gz |
Layout changes
* TAO/examples/CSD_Strategy/ThreadPool2/FooServantList.h:
* TAO/orbsvcs/orbsvcs/Notify/Consumer.h:
* TAO/orbsvcs/performance-tests/LoadBalancing/LBPerf/RPS/ServerRequestInterceptor.h:
* TAO/tests/Portable_Interceptors/Bug_3582/Client_Request_Interceptor.h:
* TAO/tests/Portable_Interceptors/ForwardRequest/Client_Request_Interceptor.h:
* TAO/tests/Portable_Interceptors/Redirection/Client_Request_Interceptor.h:
* TAO/tests/Portable_Interceptors/Redirection/Server_Request_Interceptor.h:
* TAO/tests/TransportCurrent/lib/Server_Request_Interceptor.h:
Diffstat (limited to 'TAO/examples')
-rw-r--r-- | TAO/examples/CSD_Strategy/ThreadPool2/FooServantList.h | 31 |
1 files changed, 14 insertions, 17 deletions
diff --git a/TAO/examples/CSD_Strategy/ThreadPool2/FooServantList.h b/TAO/examples/CSD_Strategy/ThreadPool2/FooServantList.h index 84c39803f86..efab29f4187 100644 --- a/TAO/examples/CSD_Strategy/ThreadPool2/FooServantList.h +++ b/TAO/examples/CSD_Strategy/ThreadPool2/FooServantList.h @@ -9,28 +9,25 @@ class FooServantList { - public: +public: + FooServantList(const ACE_TCHAR* prefix, + unsigned num_servants, + unsigned num_clients, + CORBA::ORB_ptr orb); + ~FooServantList(); - FooServantList(const ACE_TCHAR* prefix, - unsigned num_servants, - unsigned num_clients, - CORBA::ORB_ptr orb); - ~FooServantList(); + void create_and_activate(PortableServer::POA_ptr poa); - void create_and_activate(PortableServer::POA_ptr poa); + void client_done(void); - void client_done(void); +private: + PortableServer::ServantBase_var* servants_; + ACE_TString prefix_; + unsigned num_servants_; + ACE_Atomic_Op <TAO_SYNCH_MUTEX, unsigned> num_clients_; - private: - - PortableServer::ServantBase_var* servants_; - ACE_TString prefix_; - unsigned num_servants_; - - ACE_Atomic_Op <TAO_SYNCH_MUTEX, unsigned> num_clients_; - - CORBA::ORB_var orb_; + CORBA::ORB_var orb_; }; #endif |