• 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...
  • 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...