diff options
Diffstat (limited to 'TAO/tests/MT_BiDir/Client_Task.h')
-rw-r--r-- | TAO/tests/MT_BiDir/Client_Task.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/TAO/tests/MT_BiDir/Client_Task.h b/TAO/tests/MT_BiDir/Client_Task.h new file mode 100644 index 00000000000..4b8f586e00a --- /dev/null +++ b/TAO/tests/MT_BiDir/Client_Task.h @@ -0,0 +1,35 @@ +// +// $Id$ +// + +#ifndef MT_BIDIR__CLIENT_TASK_H +#define MT_BIDIR_CLIENT_TASK_H +#include /**/ "ace/pre.h" + +#include "ace/Task.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "tao/ORB.h" + + +/// Implement a Task to run the experiments using multiple threads. +class Client_Task : public ACE_Task_Base +{ +public: + /// Constructor + Client_Task (CORBA::ORB_ptr orb, + ACE_Thread_Manager *thr_mgr); + + /// Thread entry point + int svc (void); + +private: + /// Reference to the ORB + CORBA::ORB_var orb_; +}; + +#include /**/ "ace/post.h" +#endif /* MT_BIDIR_CLIENT_TASK_H */ |