StartOS EE_rq_insert stuck in while loop
Posted: Mon Dec 19, 2016 10:55 am
Hi!
In EE_oo_StartOS() my program stucks in EE_rq_insert() function in the following while loop:
p = EE_NIL;
q = EE_rq_first;
prio = EE_th_ready_prio[t];
while ((q != EE_NIL) && (prio <= EE_th_ready_prio[q])) {
p = q;
q = EE_th_next[q];
}
I couldn't find out why is it stuck.
The values are:
q=0
p=0
prio=2
EE_th_ready_prio=(2,8,128,64,32,16,4,256,1)
EE_th_next=(0,0,0,0,0,0,0,0,0)
Does anybody have any idea?
Thank you!
In EE_oo_StartOS() my program stucks in EE_rq_insert() function in the following while loop:
p = EE_NIL;
q = EE_rq_first;
prio = EE_th_ready_prio[t];
while ((q != EE_NIL) && (prio <= EE_th_ready_prio[q])) {
p = q;
q = EE_th_next[q];
}
I couldn't find out why is it stuck.
The values are:
q=0
p=0
prio=2
EE_th_ready_prio=(2,8,128,64,32,16,4,256,1)
EE_th_next=(0,0,0,0,0,0,0,0,0)
Does anybody have any idea?
Thank you!