diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-04-23 14:12:13 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-04-23 14:12:13 +0000 |
commit | bd04ce7cea3f48633afaade14be69e2e8473a1a6 (patch) | |
tree | e209170e1d2a05f59a6841635bacb0c3525a336d /tests | |
parent | ca91208997b16ba32d27dc5fe72acf0842e11eb3 (diff) | |
download | ATCD-bd04ce7cea3f48633afaade14be69e2e8473a1a6.tar.gz |
ChangeLogTag:Fri Apr 23 09:11:24 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Reverse_Lock_Test.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/Reverse_Lock_Test.cpp b/tests/Reverse_Lock_Test.cpp index e30c6d482da..a8023cc8c43 100644 --- a/tests/Reverse_Lock_Test.cpp +++ b/tests/Reverse_Lock_Test.cpp @@ -27,12 +27,13 @@ USELIB("..\ace\aced.lib"); //--------------------------------------------------------------------------- #endif /* defined(__BORLANDC__) && __BORLANDC__ >= 0x0530 */ +typedef ACE_Reverse_Lock<ACE_SYNCH_MUTEX> REVERSE_MUTEX; + int main (int, ASYS_TCHAR *[]) { ACE_START_TEST (ASYS_TEXT ("Thread_Mutex_Test")); - typedef ACE_Reverse_Lock<ACE_SYNCH_MUTEX> REVERSE_MUTEX; ACE_SYNCH_MUTEX mutex; REVERSE_MUTEX reverse_mutex (mutex); @@ -48,13 +49,13 @@ main (int, ASYS_TCHAR *[]) #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class REVERSE_MUTEX; +template class ACE_Reverse_Lock<ACE_SYNCH_MUTEX>; template class ACE_Guard<ACE_SYNCH_MUTEX>; template class ACE_Guard<REVERSE_MUTEX>; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate REVERSE_MUTEX +#pragma instantiate ACE_Reverse_Lock<ACE_SYNCH_MUTEX> #pragma instantiate ACE_Guard<ACE_SYNCH_MUTEX> #pragma instantiate ACE_Guard<REVERSE_MUTEX> |