• semaphore token counter is not limited
    Hello, µVision V5.12, CMSIS OS RTX V4.75 It seemed to me, that a binary Semaphore does not work correctly with my test code. osSemaphoreWait returns a value of 4, but it is a binary semaphore...
  • Token Release Behaviour in Mutex vs Semaphore
    Hi, I have a question regarding the usage and behaviour of Mutex vs Semaphore in RTX v4.7, in which I have two threads that needs to access a critical section. Obviously Mutex seems to be the...
  • Semaphore
    Hello, I need a sample code for a semaphore. How can I get it? Thank u.
  • String tokenizing
    I need to extract eight values from a string I'm receiving from my serial port. I have the following code: unsigned char xdata *p_ch; unsigned int xdata ch = 0; // Get command p_ch = strtok( com_buffer...
  • Semaphore Problem
    Hello, I have a simple semaphore problem. I create a task (task1) and this task waits for a start event (TASK_START). Afterwards I send a start event, then this task sends a semaphore (sem1) in intervals...