summaryrefslogtreecommitdiff
path: root/examples/kernel/thread_priority.c
diff options
context:
space:
mode:
authorGrissiom <[email protected]>2013-12-18 20:52:55 +0800
committerGrissiom <[email protected]>2013-12-18 20:52:55 +0800
commite9e8e3f3cafbbd1287e4226b93b9ad5d40f211e3 (patch)
treea82177549a3f3a64900e01b2ce68c0aaa61f3bbd /examples/kernel/thread_priority.c
parentcb347f5af05be87d673ec7c53662eb5e61ed681d (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/thread_priority.c')
0 files changed, 0 insertions, 0 deletions