• 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...
  • RTX Semaphore
    I am using a semaphore to signal my thread from an interrupt routine (which calls osSemaphoreRelease). What I am seeing is that sometimes the osSemaphoreWait function returns, however, a timeout did...