diff options
| author | Grissiom <[email protected]> | 2013-12-18 20:52:55 +0800 |
|---|---|---|
| committer | Grissiom <[email protected]> | 2013-12-18 20:52:55 +0800 |
| commit | e9e8e3f3cafbbd1287e4226b93b9ad5d40f211e3 (patch) | |
| tree | a82177549a3f3a64900e01b2ce68c0aaa61f3bbd /examples/kernel/semaphore_priority.c | |
| parent | cb347f5af05be87d673ec7c53662eb5e61ed681d (diff) | |
TC: do not use rt_sem_trytake to clean the sem
There can be a race condition that the sem has alread been detached
after we did the cleanup. Besides, there is a RT_IPC_CMD_RESET command
in rt_sem_control which is more clear in setting the sem values.
Diffstat (limited to 'examples/kernel/semaphore_priority.c')
0 files changed, 0 insertions, 0 deletions
