diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1996-11-21 06:11:17 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1996-11-21 06:11:17 +0000 |
commit | e3ab71fad48ca63df1b40fabc65eca2320928d30 (patch) | |
tree | 712662989d3c40ada5c8e76fd8d99f4440e3f9bb /tests/TSS_Test.cpp | |
parent | 9263d31bb440bb66f66a02565bbb94cda160a1f0 (diff) | |
download | ATCD-e3ab71fad48ca63df1b40fabc65eca2320928d30.tar.gz |
*** empty log message ***
Diffstat (limited to 'tests/TSS_Test.cpp')
-rw-r--r-- | tests/TSS_Test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/TSS_Test.cpp b/tests/TSS_Test.cpp index a73aef5e9ef..46d7eebd55c 100644 --- a/tests/TSS_Test.cpp +++ b/tests/TSS_Test.cpp @@ -75,12 +75,12 @@ static ACE_TSS<Errno> TSS_Error; #if defined (ACE_HAS_THREADS) // Serializes output via cout. -static ACE_Thread_Mutex lock; +static ACE_Thread_Mutex cout_lock; typedef ACE_TSS_Guard<ACE_Thread_Mutex> GUARD; #else // Serializes output via cout. -static ACE_Null_Mutex lock; +static ACE_Null_Mutex cout_lock; typedef ACE_Guard<ACE_Null_Mutex> GUARD; #endif /* ACE_HAS_THREADS */ @@ -153,7 +153,7 @@ worker (void *c) { // Use the guard to serialize access - ACE_MT (ACE_GUARD_RETURN (ACE_Thread_Mutex, ace_mon, lock, 0)); + ACE_MT (ACE_GUARD_RETURN (ACE_Thread_Mutex, ace_mon, cout_lock, 0)); ACE_ASSERT (TSS_Error->flags () == ITERATIONS); } key = 0; |