• 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...
  • 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 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...
  • Are mutexes in RTL-RTX volatile ?
    Hello, I am using mutexes in my project in order to protect resources shared among tasks. The shared resources are volatile (of course), but I cannot declare the mutex volatile (if I did so,...
  • RTX Mutex Functions ThreadSafe?
    Hi everyone We use the RL-Arm RTX V4.20 with Cortex-M3 (STM32F101VC). In my software I use a Mutex to make the access to a shared Buffer thread safe. This buffer is accessed from two different...