Tests uniprocessor-specific semaphore behaviour.
More...
|
| T_TEST_CASE_FIXTURE (RtemsSemValUni, &RtemsSemValUni_Fixture) |
|
Tests uniprocessor-specific semaphore behaviour.
This test case performs the following actions:
- Create a worker thread and two MrsP mutexes. Obtain the Mrsp mutexes and check that a task yield works (owner is not sticky). We need two mutexes since the uniprocessor schedulers do not increment the stick level in the scheduler unblock operation.
- Yield and let the worker obtain the MrsP mutexes.
- Yield and let the worker release the MrsP mutexes.
- Clean up all used resources.