summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-11-07 15:54:24 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-11-07 15:54:24 -0600
commit8b21b2e1a92fc1376f2893137c57d1238ab75526 (patch)
treec2a774be2a8152518934d9ca6e47ce4003df4aab
parent30b18e758422fce6f5cdb3dc2c1cf60974189ec4 (diff)
downloadnuttx-8b21b2e1a92fc1376f2893137c57d1238ab75526.tar.gz
nuttx-8b21b2e1a92fc1376f2893137c57d1238ab75526.tar.bz2
nuttx-8b21b2e1a92fc1376f2893137c57d1238ab75526.zip
Fix incorrect comment
-rw-r--r--nuttx/sched/semaphore/sem_post.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/nuttx/sched/semaphore/sem_post.c b/nuttx/sched/semaphore/sem_post.c
index 454016082..3e3d1d868 100644
--- a/nuttx/sched/semaphore/sem_post.c
+++ b/nuttx/sched/semaphore/sem_post.c
@@ -94,9 +94,7 @@
* 0 (OK) or -1 (ERROR) if unsuccessful
*
* Assumptions:
- * This function cannot be called from an interrupt handler.
- * It assumes the currently executing task is the one that
- * is performing the unlock.
+ * This function may be called from an interrupt handler.
*
****************************************************************************/