sched/semaphore: fix typo in comment

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
Petro Karashchenko 2022-10-22 22:53:59 +02:00 committed by Xiang Xiao
parent a74dddd2ff
commit e43db5fe28

View File

@ -899,12 +899,12 @@ void nxsem_restore_baseprio(FAR struct tcb_s *stcb, FAR sem_t *sem)
if (stcb != NULL) if (stcb != NULL)
{ {
/* Handler semaphore counts posed from an interrupt handler differently /* Handler semaphore counts posted from an interrupt handler
* from interrupts posted from threads. The primary difference is that * differently from interrupts posted from threads. The primary
* if the semaphore is posted from a thread, then the poster thread is * difference is that if the semaphore is posted from a thread, then
* a player in the priority inheritance scheme. The interrupt handler * the poster thread is a player in the priority inheritance scheme.
* externally injects the new count without otherwise participating * The interrupt handler externally injects the new count without
* itself. * otherwise participating itself.
*/ */
if (up_interrupt_context()) if (up_interrupt_context())