test::MutexTest Class Reference
#include <mutexTest.h>
List of all members.
Detailed Description
Test case for mutex class
- Author:
- Zhi Gan (ganzhi@gmail.com)
Member Function Documentation
| void test::MutexTest::setUp |
( |
|
) |
[inline] |
| void test::MutexTest::reset |
( |
|
) |
[inline] |
| void test::MutexTest::testMutex |
( |
|
) |
|
This test case will start 2 threads. Each thread will try to acquire a lock and then sleep three seconds. So if the mutex work correctly, the whole test case will need longer than 6 seconds.
| void test::MutexTest::testRecursiveMutex |
( |
|
) |
|
| void test::MutexTest::tearDown |
( |
|
) |
[inline] |
The documentation for this class was generated from the following files: