summaryrefslogtreecommitdiff
path: root/TAO/performance-tests/Latency/Thread_Pool/Worker_Thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/performance-tests/Latency/Thread_Pool/Worker_Thread.h')
-rw-r--r--TAO/performance-tests/Latency/Thread_Pool/Worker_Thread.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/TAO/performance-tests/Latency/Thread_Pool/Worker_Thread.h b/TAO/performance-tests/Latency/Thread_Pool/Worker_Thread.h
new file mode 100644
index 00000000000..ca7109a320d
--- /dev/null
+++ b/TAO/performance-tests/Latency/Thread_Pool/Worker_Thread.h
@@ -0,0 +1,27 @@
+//
+// $Id$
+//
+
+#ifndef WORKER_THREAD_H
+#define WORKER_THREAD_H
+#include /**/ "ace/pre.h"
+
+#include "tao/ORB.h"
+#include "ace/Task.h"
+
+/// Implement the Test::Worker_Thread interface
+class Worker_Thread : public ACE_Task_Base
+{
+public:
+ /// Constructor
+ Worker_Thread (CORBA::ORB_ptr orb);
+
+ // = The service method
+ virtual int svc (void);
+
+private:
+ CORBA::ORB_var orb_;
+};
+
+#include /**/ "ace/post.h"
+#endif /* WORKER_THREAD_H */