Use a variable on the stack to not have a temporary in the call
[ACE_TAO.git] / TAO / performance-tests / Sequence_Latency / Thread_Pool / Worker_Thread.h
blobc6d03785ebedeb66b99e39b165eea2acb6bb2184
1 #ifndef WORKER_THREAD_H
2 #define WORKER_THREAD_H
3 #include /**/ "ace/pre.h"
5 #include "tao/ORB.h"
6 #include "ace/Task.h"
8 /// Implement the Test::Worker_Thread interface
9 class Worker_Thread : public ACE_Task_Base
11 public:
12 /// Constructor
13 Worker_Thread (CORBA::ORB_ptr orb);
15 // = The service method
16 virtual int svc ();
18 private:
19 CORBA::ORB_var orb_;
22 #include /**/ "ace/post.h"
23 #endif /* WORKER_THREAD_H */