CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

About RTOS!

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Thuan
Guest







About RTOS!
PostPosted: Fri Oct 24, 2008 9:00 pm     Reply with quote

Hi everybody!
I know that RTOS in CCS doesn't support the piority of tasks. So if I have 2 or more task which can be appear in the same time, so what will happen?
For example : 100ms is period of task 1. 250ms is period of task 2. At t=500ms we see that both of task are allowed to run. How does CCS decide which tasks is allowed to run first.

Could you give a advice?
Thanks a lot!
Ttelmah
Guest







PostPosted: Sat Oct 25, 2008 4:06 am     Reply with quote

If it is like the rest of the CCS code, my guess would be that it tests the tasks, in the order they are defined in the code. It then services the first one it finds needing service.

Best Wishes
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group