Discussion Forum

RTX time manage questions about os_itv_wait ........

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
Thomas King
Posted
5-Jan-2007 02:10 GMT
Toolset
ARM
New! RTX time manage questions about os_itv_wait ........

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 ?

Read-Only
Author
Dan Henry
Posted
5-Jan-2007 03:28 GMT
Toolset
ARM
New! RE: RTX time manage questions about os_itv_wait ........

Is there another task ready to run?

Read-Only
Author
Thomas King
Posted
5-Jan-2007 05:11 GMT
Toolset
ARM
New! RE: RTX time manage questions about os_itv_wait ........

YES, There is another "ready sate" task existing,

and the current task can't change to it

Read-Only
Author
Franc Urbanc
Posted
5-Jan-2007 06:16 GMT
Toolset
ARM
New! RE: RTX time manage questions about os_itv_wait ........

http://www.keil.com/support/docs/3008.asp?bhcp=1

Read-Only
Author
Thomas King
Posted
5-Jan-2007 06:50 GMT
Toolset
ARM
New! RE: RTX time manage questions about os_itv_wait ........

They are different questions, thank you all the same!

Read-Only
Author
giovanni lotti
Posted
5-Jan-2007 08:07 GMT
Toolset
ARM
New! RE: RTX time manage questions about os_itv_wait ........

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.....

Read-Only
Author
Thomas King
Posted
5-Jan-2007 09:26 GMT
Toolset
ARM
New! RE: RTX time manage questions about os_itv_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!

Read-Only
Author
giovanni lotti
Posted
5-Jan-2007 10:18 GMT
Toolset
ARM
New! RE: RTX time manage questions about os_itv_wait ........

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.

Next Thread | Thread List | Previous Thread Start a Thread | Settings