From 8b21b2e1a92fc1376f2893137c57d1238ab75526 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 7 Nov 2014 15:54:24 -0600 Subject: Fix incorrect comment --- nuttx/sched/semaphore/sem_post.c | 4 +--- 1 file changed, 1 insertion(+), 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. * ****************************************************************************/ -- cgit v1.2.3