diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-01-23 06:01:07 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-01-23 06:01:07 +0000 |
commit | 972642245aea9c803541ce0390dec403dbc92f16 (patch) | |
tree | 9b720fe21ef4a17fd7c4a477710d1196f0c17548 /performance-tests/Synch-Benchmarks | |
parent | d63468cc2a3957bd12b16fa6cb4e22200c40f395 (diff) | |
download | ATCD-972642245aea9c803541ce0390dec403dbc92f16.tar.gz |
Added template instantiation.
Diffstat (limited to 'performance-tests/Synch-Benchmarks')
-rw-r--r-- | performance-tests/Synch-Benchmarks/Base_Test/mutex_test.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/performance-tests/Synch-Benchmarks/Base_Test/mutex_test.cpp b/performance-tests/Synch-Benchmarks/Base_Test/mutex_test.cpp index 8d9ebc66a2c..a81d9e171c6 100644 --- a/performance-tests/Synch-Benchmarks/Base_Test/mutex_test.cpp +++ b/performance-tests/Synch-Benchmarks/Base_Test/mutex_test.cpp @@ -88,3 +88,11 @@ typedef Baseline_Lock_Test<ACE_Recursive_Thread_Mutex> Baseline_Recursive_Mutex_ ACE_SVC_FACTORY_DECLARE (Baseline_Recursive_Mutex_Test) ACE_SVC_FACTORY_DEFINE (Baseline_Recursive_Mutex_Test) + +#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) +template class Baseline_Lock_Test<ACE_Thread_Mutex>; +template class Baseline_Lock_Test<ACE_Recursive_Thread_Mutex>; +#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) +#pragma instantiate Baseline_Lock_Test<ACE_Thread_Mutex> +#pragma instantiate Baseline_Lock_Test<ACE_Recursive_Thread_Mutex> +#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ |