We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
os_itv_set(20); while(1) { os_itv_wait(); msdelay(100); }
this is part of my code in one of RTX TASKS, every
time run to "os_itv_wait()", current task sometimes
can not change to another task; when os_dly_time,
i meet the the same situation; why os_itv_wait()
function can't change the current task to another ?
Is there another task ready to run?
YES, There is another "ready sate" task existing,
and the current task can't change to it
http://www.keil.com/support/docs/3008.asp?bhcp=1
They are different questions, thank you all the same!
Hi,
Do you use the new version of MDK (MDK303a)?...Beacause there are some problems whit this new version when you use os_dly_wait.....
yes, my version is MDK303a, when using
os_dly_wait(),i meet this problem, when using
os_itv_wait(),i meet this problem ,too;
so i want to know whether there is problem with
os_itv_wait() in this version;
thank you very much!
When I met my problem whit os_dly_wait I sent an e-mail to technical support of Keil, and Keil sent me a library RTLRTX.lib whit the resolution of the bug.....I suggest you to follow the same way.....good luck !!
Regards,
Giovanni.