Re: rtems_message_queue_receive / rtems_event_receive issues

2018-09-21 Thread Catalin Demergian
Hi, I saw an event basically means setting a bit in a 32 bit integer, so, yes, they don't queue. I got into the same issue with rtems_message_queue_receive(RTEMS_NO_TIMEOUT), it blocks even if there are messages in the queue like I said. Not even rtems_message_queue_receive without timeout didn't

Re: rtems_message_queue_receive / rtems_event_receive issues

2018-09-21 Thread Sebastian Huber
On 21/09/2018 08:59, Catalin Demergian wrote: So my question is: why would a task stop getting CPU time ? In RTEMS you have priority based schedulers. If there is a higher priority ready thread then a lower priority thread will not run. Where is the code in the RTEMS scheduler that decides