• 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. ...
  • When does RTX (re)evaluate which thread to run next?
    Hi, a hopefully simple example to explain the background of my question. Say, an interrupt handler is interrupting a thread "some_thread_id_A" and looks as follows: SomeIRQHandler(void) { ... some code...