summaryrefslogtreecommitdiff
path: root/TAO/tests/Cubit/TAO/MT_Cubit/Util_Thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Cubit/TAO/MT_Cubit/Util_Thread.h')
-rw-r--r--TAO/tests/Cubit/TAO/MT_Cubit/Util_Thread.h45
1 files changed, 0 insertions, 45 deletions
diff --git a/TAO/tests/Cubit/TAO/MT_Cubit/Util_Thread.h b/TAO/tests/Cubit/TAO/MT_Cubit/Util_Thread.h
deleted file mode 100644
index e5dcb9da70f..00000000000
--- a/TAO/tests/Cubit/TAO/MT_Cubit/Util_Thread.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/tests
-//
-// = FILENAME
-// Util_Thread.h
-//
-// = AUTHOR
-// Andy Gokhale, Sumedh Mungee and Sergio Flores-Gaitan
-//
-// ============================================================================
-
-#include "Task_Client.h"
-
-#define CUBIT_ARBIT_NUMBER 2064885
-
-class Util_Thread : public ACE_Task<ACE_MT_SYNCH>
- // = TITLE
- // The thread that computes utilization
-{
-public:
- Util_Thread (Task_State *, ACE_Thread_Manager *thr_mgr);
- // constructor
-
- virtual int svc (void);
- // the thread function
-
- double get_number_of_computations (void);
- // gets the number of computations the thread was able
- // to perform
-
- int done_;
- // Indicates whether its done.
-
-private:
-
- int run_computations ();
- // run the computations
-
- double number_of_computations_;
- Task_State *ts_;
-};