• 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...
  • [RTX] Queries on Mutexes
    Hi, We use Keil RTX in our projects where their are multiple tasks. Have some queries on Keil RTX mutexes. 1) I have one resource (variable) that is used in multiple tasks. One reads it while the other...
  • 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...