• 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 mutex
    who unlock the mutex f1() or f2() ? function f1() should unlock the mutex, is this right ? #include <rtl.h> OS_MUT mutex; void f1 (void) { os_mut_wait (mutex, 0xffff); f2 (); .. /* Critical...
  • RTX mutex
    Hello, I have faced strange program behaviour in my home project. It is running on KEIL RTX. The issue is that only one task is put to wait forever for a mutex which is used by several tasks. Mutex...
  • 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. ...
  • CMSIS-RTOS2 Using mutex
    Hi, I'm new with the CMSIS-RTOS2. I want to test the Mutexes, so I read the online documentation and I create the Mutex.c template file from Keil. I see from the template file that the mutex is...