#include <rwlock_tester.h>
Public Member Functions | |
| SyncOStream (std::ostream *ostr=&cout) | |
| ~SyncOStream () | |
| void | lock (void) |
| void | unlock (void) |
Public Attributes | |
| std::ostream * | out |
Private Attributes | |
| SystemLock | l |
Definition at line 41 of file rwlock_tester.h.
| SyncOStream::SyncOStream | ( | std::ostream * | ostr = &cout |
) | [inline] |
| SyncOStream::~SyncOStream | ( | ) | [inline] |
| void SyncOStream::lock | ( | void | ) | [inline] |
Definition at line 48 of file rwlock_tester.h.
References l, and SystemLock::lock().
Referenced by RWLockLoopTest::print_mixed_total(), RWLockLoopTest::print_thread_times(), RWLockLoopTestImpl< RWL >::read_test_loop(), RWLockLoopTestImpl< RWL >::run_mixed(), RWLockTester::run_test(), RWLockTester::validate(), and RWLockLoopTestImpl< RWL >::write_test_loop().
| void SyncOStream::unlock | ( | void | ) | [inline] |
Definition at line 49 of file rwlock_tester.h.
References l, and SystemLock::unlock().
Referenced by RWLockLoopTest::print_mixed_total(), RWLockLoopTest::print_thread_times(), RWLockLoopTestImpl< RWL >::read_test_loop(), RWLockLoopTestImpl< RWL >::run_mixed(), RWLockTester::run_test(), RWLockTester::validate(), and RWLockLoopTestImpl< RWL >::write_test_loop().
| std::ostream* SyncOStream::out |
SystemLock SyncOStream::l [private] |
1.5.5