summaryrefslogtreecommitdiff
path: root/nuttx/sched/semaphore/sem_post.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/semaphore/sem_post.c')
-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.
*
****************************************************************************/