• RTX semaphore / mutex
    Hi all, I am struggling using mutexes/semaphores in RTX, since this RTOS does have the ugly restriction of only one timer per running task. I digged a bit deeper and realized, that most ARM cores...
  • RTOS (RTX) Mutex-Semaphore problem
    Hi all , I thought the only differences between a Mutex and a semaphore are the count(Semaphore Capability) and priority inversion(Semaphore Capability) . Today , I’ve encountered something strange...
  • RTX - task waiting forever for mutex
    I have faced strange program behaviour in my home project. It is running on KEIL RTX. The issue is that one task is put to wait for a mutex which is used by several tasks. So, one of the task is put to...
  • 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. ...
  • What happens to mutexes and semaphores when a task is deleted
    If I have a 2 tasks running that require the same semaphore (or mutex), and task 1 currently has control of it. Now there is a third task that deletes task 1 before task 1 has a chance to release the...