Merge pull request #2218 from jwillemsen/jwi-pthreadsigmask
[ACE_TAO.git] / TAO / performance-tests / Latency / Collocation / Client_Task.h
blob23e9d4cbe33e769a6a142becc9f7b64869e3972b
2 #ifndef COLLOCATED_TEST_CLIENT_TASK_H
3 #define COLLOCATED_TEST_CLIENT_TASK_H
4 #include /**/ "ace/pre.h"
5 #include "ace/Task.h"
7 #if !defined (ACE_LACKS_PRAGMA_ONCE)
8 # pragma once
9 #endif /* ACE_LACKS_PRAGMA_ONCE */
11 #include "tao/ORB.h"
12 #include "TestC.h"
14 /// Implement a Task to run the client as a thread
15 class Client_Task : public ACE_Task_Base
17 public:
18 /// Constructor
19 Client_Task (Test::Roundtrip_ptr reference,
20 int iterations,
21 ACE_Thread_Manager *thr_mgr);
23 /// Thread entry point
24 int svc ();
26 private:
27 const int niterations;
28 Test::Roundtrip_var remote_ref_;
31 #include /**/ "ace/post.h"
32 #endif /* COLLOCATED_TEST_CLIENT_TASK_H */