rtems_semaphore_delete directive RTEMS_RESOURCE_IN_USE status code

Andrei Dimitrief-Jianu andrei.dimitrief.jianu at gmail.com
Mon Oct 1 19:45:51 UTC 2012


Could someone clarify for me when rtems_semaphore_delete directive
would return RTEMS_RESOURCE_IN_USE status code?

My guess is that RTEMS_RESOURCE_IN_USE is returned if there are tasks
waiting to acquire the semaphore, but the API
document also says that:

"All tasks blocked waiting to acquire the semaphore will be readied
and returned a status code which
indicates that the semaphore was deleted."


More information about the users mailing list