Re: rtems_message_queue_receive / rtems_event_receive issues

2018-10-22 Thread Catalin Demergian
Hi, I see _Scheduler_priority_Ready_queue_enqueue calls _Chain_Append_unprotected which has an interesting comment * @note It does NOT disable interrupts to ensure the atomicity of the * append operation. Catalin On Mon, Oct 22, 2018 at 4:08 PM Sebastian Huber < sebastian.hu...@embedded-

Re: rtems_message_queue_receive / rtems_event_receive issues

2018-10-22 Thread Sebastian Huber
On 22/10/2018 15:00, Catalin Demergian wrote: I started to look in the ready queues implementation. I added a debug patch tracing my tasks having priority=100. The way I see it, a task can enter a ready queue only with _Scheduler_priority_Ready_queue_enqueue/_Scheduler_priority_Ready_queue_enque

Re: rtems_message_queue_receive / rtems_event_receive issues

2018-10-22 Thread Catalin Demergian
Hi, I'm back investigating this issue. I started to look in the ready queues implementation. I added a debug patch tracing my tasks having priority=100. The way I see it, a task can enter a ready queue only with _Scheduler_priority_Ready_queue_enqueue/_Scheduler_priority_Ready_queue_enqueue_first