summaryrefslogtreecommitdiff
path: root/ACE/tests/Reverse_Lock_Test.cpp
diff options
context:
space:
mode:
authorWilliam R. Otte <wotte@dre.vanderbilt.edu>2008-03-04 13:56:48 +0000
committerWilliam R. Otte <wotte@dre.vanderbilt.edu>2008-03-04 13:56:48 +0000
commitc4078c377d74290ebe4e66da0b4975da91732376 (patch)
tree1816ef391e42a07929304908ac0e21f4c2f6cb7b /ACE/tests/Reverse_Lock_Test.cpp
parent700d1c1a6be348c6c70a2085e559baeb8f4a62ea (diff)
downloadATCD-c4078c377d74290ebe4e66da0b4975da91732376.tar.gz
swap in externals for ACE and TAO
Diffstat (limited to 'ACE/tests/Reverse_Lock_Test.cpp')
-rw-r--r--ACE/tests/Reverse_Lock_Test.cpp48
1 files changed, 0 insertions, 48 deletions
diff --git a/ACE/tests/Reverse_Lock_Test.cpp b/ACE/tests/Reverse_Lock_Test.cpp
deleted file mode 100644
index 5ee08dafbee..00000000000
--- a/ACE/tests/Reverse_Lock_Test.cpp
+++ /dev/null
@@ -1,48 +0,0 @@
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// tests
-//
-// = FILENAME
-// Reverse_Lock_Test.cpp
-//
-// = DESCRIPTION
-// This is a simple test to illustrate the functionality of
-// ACE_Reverse_Lock. The test acquires and releases mutexes. No
-// command line arguments are needed to run the test.
-//
-// = AUTHOR
-// Irfan Pyarali <irfan@cs.wustl.edu>
-//
-// ============================================================================
-
-#include "test_config.h"
-#include "ace/Synch_Traits.h"
-#include "ace/Thread_Mutex.h"
-#include "ace/Guard_T.h"
-#include "ace/Reverse_Lock_T.h"
-
-ACE_RCSID(tests, Reverse_Lock_Test, "$Id$")
-
-typedef ACE_Reverse_Lock<ACE_SYNCH_MUTEX> REVERSE_MUTEX;
-
-int
-run_main (int, ACE_TCHAR *[])
-{
- ACE_START_TEST (ACE_TEXT ("Reverse_Lock_Test"));
-
- ACE_SYNCH_MUTEX mutex;
- REVERSE_MUTEX reverse_mutex (mutex);
-
- {
- ACE_GUARD_RETURN (ACE_SYNCH_MUTEX, monitor, mutex, -1);
-
- ACE_GUARD_RETURN (REVERSE_MUTEX, reverse_monitor, reverse_mutex, -1);
- }
-
- ACE_END_TEST;
- return 0;
-}
-