This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to free semaphores, mutexes and mailboxes in RTX-RTOS

I am working on porting lwIP into RTX-RTOS. In lwIP's "sys_arch.c" file, I need to implement functions to free up semaphores, mutexes and mailboxes. RTX-RTOS does not have any functions for this.

Since a mailbox is a pointer to a block of memory, can "_free_box" be used to free a mailbox?

How about for a semaphore or a mutex?

Thanks,

Willy