diff options
Diffstat (limited to 'nuttx/sched/semaphore/semaphore.h')
-rw-r--r-- | nuttx/sched/semaphore/semaphore.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/sched/semaphore/semaphore.h b/nuttx/sched/semaphore/semaphore.h index d8ed3ecd7..55e83abbf 100644 --- a/nuttx/sched/semaphore/semaphore.h +++ b/nuttx/sched/semaphore/semaphore.h @@ -85,6 +85,10 @@ void sem_initialize(void); void sem_waitirq(FAR struct tcb_s *wtcb, int errcode); #endif +/* Recover semaphore resources with a task or thread is destroyed */ + +void sem_recover(FAR struct tcb_s *tcb); + /* Special logic needed only by priority inheritance to manage collections of * holders of semaphores. */ |