diff options
author | nw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-06-15 08:45:18 +0000 |
---|---|---|
committer | nw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-06-15 08:45:18 +0000 |
commit | 463d5b59f2496d48e96c1de6ea3407a69fb460a1 (patch) | |
tree | 830aa772eb8a827f1283310bed3c15390ab66736 /performance-tests/Synch-Benchmarks/recursive_lock_test.cpp | |
parent | 2f159ba5e58aded096ed8df177b6a3a908d2a93c (diff) | |
download | ATCD-463d5b59f2496d48e96c1de6ea3407a69fb460a1.tar.gz |
*** empty log message ***
Diffstat (limited to 'performance-tests/Synch-Benchmarks/recursive_lock_test.cpp')
-rw-r--r-- | performance-tests/Synch-Benchmarks/recursive_lock_test.cpp | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/performance-tests/Synch-Benchmarks/recursive_lock_test.cpp b/performance-tests/Synch-Benchmarks/recursive_lock_test.cpp index b3579d980d5..6acbb6e5729 100644 --- a/performance-tests/Synch-Benchmarks/recursive_lock_test.cpp +++ b/performance-tests/Synch-Benchmarks/recursive_lock_test.cpp @@ -1,12 +1,13 @@ -#include "ace/Synch.h" // $Id$ +#define ACE_BUILD_SVC_DLL +#include "ace/Synch.h" #include "Options.h" #include "Benchmark.h" #if defined (ACE_HAS_THREADS) -class Recursive_Lock_Test : public Benchmark +class ACE_Svc_Export Recursive_Lock_Test : public Benchmark { public: virtual int svc (void); @@ -34,12 +35,8 @@ Recursive_Lock_Test::svc (void) return 0; } -extern "C" ACE_Service_Object *recursive_lock_test (void); - -ACE_Service_Object *recursive_lock_test (void) -{ - return new Recursive_Lock_Test; -} +ACE_SVC_FACTORY_DECLARE (Recursive_Lock_Test) +ACE_SVC_FACTORY_DEFINE (Recursive_Lock_Test) // ACE_Service_Object_Type rlt (&recursive_lock_test, "Recursive_Lock_Test"); #endif /* ACE_HAS_THREADS */ |