summaryrefslogtreecommitdiff
path: root/performance-tests/Synch-Benchmarks/context_test.cpp
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-04-08 17:12:53 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-04-08 17:12:53 +0000
commit0922352a55775ec9ba589d82955d231977da60ae (patch)
treeb2d2cc62c8017259e46d11dc4036e8499890228a /performance-tests/Synch-Benchmarks/context_test.cpp
parent0e0618ea227e7768bac5f5b3f2f1e72c4bfb3c85 (diff)
downloadATCD-0_8_1.tar.gz
This commit was manufactured by cvs2svn to create tag 'v0_8_1'.v0_8_1
Diffstat (limited to 'performance-tests/Synch-Benchmarks/context_test.cpp')
-rw-r--r--performance-tests/Synch-Benchmarks/context_test.cpp40
1 files changed, 0 insertions, 40 deletions
diff --git a/performance-tests/Synch-Benchmarks/context_test.cpp b/performance-tests/Synch-Benchmarks/context_test.cpp
deleted file mode 100644
index ff83af6af3a..00000000000
--- a/performance-tests/Synch-Benchmarks/context_test.cpp
+++ /dev/null
@@ -1,40 +0,0 @@
-#include "ace/Synch.h"
-// $Id$
-
-#include "Options.h"
-#include "Benchmark.h"
-
-#if defined (ACE_HAS_THREADS)
-
-class Context_Test : public Benchmark
-{
-public:
- virtual int svc (void);
-};
-
-int
-Context_Test::svc (void)
-{
- int ni = this->thr_id ();
-
- synch_count = 1;
-
- while (!this->done ())
- {
- ACE_Thread::yield ();
- options.thr_work_count[ni]++;
- }
-
- /* NOTREACHED */
- return 0;
-}
-
-extern "C" ACE_Service_Object *context_test (void);
-
-ACE_Service_Object *context_test (void)
-{
- return new Context_Test;
-}
-
-// ACE_Service_Object_Type ct (&context_test, "Context_Test");
-#endif /* ACE_HAS_THREADS */