Tests the <sys/lock.h> mutex directives.
More...
|
| T_TEST_CASE_FIXTURE (NewlibValSysLock, &NewlibValSysLock_Fixture) |
|
Tests the <sys/lock.h> mutex directives.
This test case performs the following actions:
- Create a mutex and validate the mutex directives.
- Validate the _Mutex_Try_acquire() directive.
- Validate the _Mutex_Acquire_timed() directive for valid timeout parameters.
- Validate the _Mutex_Acquire_timed() directive for an invalid timeout parameter.
- Validate the _Mutex_Acquire_timed() timeout behaviour.
- Validate the _Mutex_Acquire() directive.
- Validate the _Mutex_Try_acquire() directive.
- Destroy the mutex.
- Create a recursive mutex and validate the mutex directives.
- Validate the _Mutex_recursive_Try_acquire() directive.
- Validate the _Mutex_recursive_Acquire_timed() directive for valid timeout parameters.
- Validate the _Mutex_recursive_Acquire_timed() directive for an invalid timeout parameter.
- Validate the _Mutex_recursive_Acquire_timed() timeout behaviour.
- Validate the _Mutex_recursive_Acquire() directive.
- Validate the _Mutex_recursive_Try_acquire() directive.
- Destroy the mutex.