test::LockTest Class Reference
#include <lockTest.h>
List of all members.
Detailed Description
Test case for mutex class
- Author:
- Zhi Gan (ganzhi@gmail.com)
Member Function Documentation
| void test::LockTest::setUp |
( |
|
) |
[inline] |
| void test::LockTest::reset |
( |
|
) |
[inline] |
| void test::LockTest::testLock |
( |
|
) |
|
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::LockTest::testRecursiveLock |
( |
|
) |
|
| void test::LockTest::tearDown |
( |
|
) |
[inline] |
The documentation for this class was generated from the following files: