File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,14 +76,14 @@ static ALWAYS_INLINE void *curr_cpu_runq(void)
7676
7777static ALWAYS_INLINE void runq_add (struct k_thread * thread )
7878{
79- __ASSERT_NO_MSG (!z_is_idle_thread_object (thread ));
79+ __ASSERT_NO_MSG (!z_is_idle_thread_object (thread ) && ! thread_is_metairq ( thread ) );
8080
8181 _priq_run_add (thread_runq (thread ), thread );
8282}
8383
8484static ALWAYS_INLINE void runq_remove (struct k_thread * thread )
8585{
86- __ASSERT_NO_MSG (!z_is_idle_thread_object (thread ));
86+ __ASSERT_NO_MSG (!z_is_idle_thread_object (thread ) && ! thread_is_metairq ( thread ) );
8787
8888 _priq_run_remove (thread_runq (thread ), thread );
8989}
@@ -755,6 +755,9 @@ void z_reschedule_irqlock(uint32_t key)
755755
756756void k_sched_lock (void )
757757{
758+ LOG_DBG ("scheduler locked (%p:%d)" ,
759+ _current , _current -> base .sched_locked );
760+
758761 K_SPINLOCK (& _sched_spinlock ) {
759762 SYS_PORT_TRACING_FUNC (k_thread , sched_lock );
760763
You can’t perform that action at this time.
0 commit comments