sched/semaphore: fix typo in comment
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
parent
a74dddd2ff
commit
e43db5fe28
@ -899,12 +899,12 @@ void nxsem_restore_baseprio(FAR struct tcb_s *stcb, FAR sem_t *sem)
|
||||
|
||||
if (stcb != NULL)
|
||||
{
|
||||
/* Handler semaphore counts posed from an interrupt handler differently
|
||||
* 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 otherwise participating
|
||||
* itself.
|
||||
/* Handler semaphore counts posted from an interrupt handler
|
||||
* differently 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
|
||||
* otherwise participating itself.
|
||||
*/
|
||||
|
||||
if (up_interrupt_context())
|
||||
|
Loading…
Reference in New Issue
Block a user