• RTX5: High priority thread stalled when other thread running
    I am trying to get an application working with two user threads. The first reads a sensor over I2C every time the sensor asserts an interrupt pin. The second runs a periodic calculation which does not...
  • When does RTX (re)evaluate which thread to run next?
    Hi, a hopefully simple example to explain the background of my question. Say, an interrupt handler is interrupting a thread "some_thread_id_A" and looks as follows: SomeIRQHandler(void) { ... some code...
  • Can not run two threads at the same time?
    I have no issues running multiple thread instances but I can not run more then one thread at the same time, is that not possible? When the second thread starts, the code freezes. //thd 1 extern osThreadId...
  • CMSIS-RTX does osThreadgetId() switching Threads?
    Hi, Inside of the SEGGER emwin Library is a locking funktion wich takes care of being used by different threads. These locks are using a single binary semaphore. The pseudocode for the lock is something...
  • creating thread inside another thread
    Hi all, I am using lwip stack for my controller. Here i am creating a thread using function sys_thread_new("tcpecho_thread", FTP_thread, NULL, 4000, DEFAULT_THREAD_PRIO); Here thread is created...