summaryrefslogtreecommitdiff
path: root/performance-tests/Synch-Benchmarks/Perf_Test/adaptive_mutex_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'performance-tests/Synch-Benchmarks/Perf_Test/adaptive_mutex_test.cpp')
-rw-r--r--performance-tests/Synch-Benchmarks/Perf_Test/adaptive_mutex_test.cpp37
1 files changed, 0 insertions, 37 deletions
diff --git a/performance-tests/Synch-Benchmarks/Perf_Test/adaptive_mutex_test.cpp b/performance-tests/Synch-Benchmarks/Perf_Test/adaptive_mutex_test.cpp
deleted file mode 100644
index 4a72ec2ac90..00000000000
--- a/performance-tests/Synch-Benchmarks/Perf_Test/adaptive_mutex_test.cpp
+++ /dev/null
@@ -1,37 +0,0 @@
-// $Id$
-
-#define ACE_BUILD_SVC_DLL
-#include "ace/Log_Msg.h"
-#include "Adaptive_Lock_Performance_Test_Base.h"
-#include "ace/Lock_Adapter_T.h"
-
-ACE_RCSID(Synch_Benchmarks, adaptive_mutex_test, "$Id$")
-
-#if defined (ACE_HAS_THREADS)
-
-class ACE_Svc_Export Adaptive_Mutex_Test : public Adaptive_Lock_Performance_Test_Base
-{
-public:
- virtual int init (int, ACE_TCHAR *[]);
-};
-
-int
-Adaptive_Mutex_Test::init (int, ACE_TCHAR *[])
-{
- ACE_Lock *lock;
- ACE_NEW_RETURN (lock,
- ACE_Lock_Adapter<ACE_Thread_Mutex> (),
- -1);
-
- return this->set_lock (lock);
-}
-
-ACE_SVC_FACTORY_DECLARE (Adaptive_Mutex_Test)
-ACE_SVC_FACTORY_DEFINE (Adaptive_Mutex_Test)
-
-#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
-template class ACE_Lock_Adapter<ACE_Thread_Mutex>;
-#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-#pragma instantiate ACE_Lock_Adapter<ACE_Thread_Mutex>
-#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */
-#endif /* ACE_HAS_THREADS */