diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1996-12-25 02:07:55 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1996-12-25 02:07:55 +0000 |
commit | 7c52f621e1a842fe9c4e64305ccc16f0078d5822 (patch) | |
tree | fd07ff6fd6dbf1b9b95675397669f24f4d029c61 /tests/Future_Test.cpp | |
parent | 0e6110bf8fc7681ed99b6a9e1cdacee84c76e6aa (diff) | |
download | ATCD-7c52f621e1a842fe9c4e64305ccc16f0078d5822.tar.gz |
instantiate ACE_Atomic_Op with int instead of u_long to match what's in libACE
Diffstat (limited to 'tests/Future_Test.cpp')
-rw-r--r-- | tests/Future_Test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Future_Test.cpp b/tests/Future_Test.cpp index 8207ede913c..a02542c9aff 100644 --- a/tests/Future_Test.cpp +++ b/tests/Future_Test.cpp @@ -30,7 +30,7 @@ #if defined (ACE_HAS_THREADS) -typedef ACE_Atomic_Op<ACE_Thread_Mutex, u_long> ATOMIC_INT; +typedef ACE_Atomic_Op<ACE_Thread_Mutex, int> ATOMIC_INT; // a counter for the tasks.. static ATOMIC_INT task_count (0); @@ -297,7 +297,7 @@ static int n_iterations = 50000; static int n_loops = 100; #if defined (ACE_TEMPLATES_REQUIRE_SPECIALIZATION) -template class ACE_Atomic_Op<ACE_Thread_Mutex, u_long>; +template class ACE_Atomic_Op<ACE_Thread_Mutex, int>; #endif /* ACE_TEMPLATES_REQUIRE_SPECIALIZATION */ #endif /* ACE_HAS_THREADS */ |