diff --git a/sched/semaphore/sem_post.c b/sched/semaphore/sem_post.c index e9f69dfe1ac..a16150d00db 100644 --- a/sched/semaphore/sem_post.c +++ b/sched/semaphore/sem_post.c @@ -147,6 +147,10 @@ int nxsem_post(FAR sem_t *sem) nxsem_add_holder_tcb(stcb, sem); + /* Stop the watchdog timer */ + + wd_cancel(&stcb->waitdog); + /* It is, let the task take the semaphore */ stcb->waitsem = NULL;