diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-08-28 19:01:14 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-08-28 19:01:14 +0000 |
commit | f53d3ecc71d0475d8b2c322310a76e6f5ca735ea (patch) | |
tree | acd75c9f9d73075b8a1beef2a26e939f63ae353c /nuttx/sched | |
parent | bbe3db55f26c2aef2f2ba27bf726bee1ec039b24 (diff) | |
download | px4-firmware-f53d3ecc71d0475d8b2c322310a76e6f5ca735ea.tar.gz px4-firmware-f53d3ecc71d0475d8b2c322310a76e6f5ca735ea.tar.bz2 px4-firmware-f53d3ecc71d0475d8b2c322310a76e6f5ca735ea.zip |
Add perror()
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5061 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/sched')
-rw-r--r-- | nuttx/sched/sem_holder.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/sched/sem_holder.c b/nuttx/sched/sem_holder.c index abe7e9e28..c850a3b5a 100644 --- a/nuttx/sched/sem_holder.c +++ b/nuttx/sched/sem_holder.c @@ -948,10 +948,11 @@ void sem_restorebaseprio(FAR _TCB *stcb, FAR sem_t *sem) (sem->semcount <= 0 && stcb != NULL)); /* Handler semaphore counts posed from an interrupt handler differently - * from interrupts posted from threads. The priority difference is that + * from interrupts posted from threads. The primary difference is that * if the semaphore is posted from a thread, then the poster thread is * a player in the priority inheritance scheme. The interrupt handler - * externally injects the new count without participated itself. + * externally injects the new count without otherwise participating + * itself. */ if (up_interrupt_context()) |