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 support@ccsinfo.com

Help me about RTOS with CCS!

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








Help me about RTOS with CCS!
PostPosted: Sat Sep 27, 2008 1:57 am     Reply with quote

I'm learning RTOS with PIC16f877A and CCS C. But I don't know how to set the priority for each task. Does CCS C have a function which can set the priority for tasks? Thanks for your help!
Ttelmah
Guest







PostPosted: Sat Sep 27, 2008 2:57 am     Reply with quote

No.
The RTOS implements _co-operative_ multi-tasking, _not_ 'pre-emptive' multi-tasking.
Hence no 'priorities'.
Your individual tasks, have to 'co-operate', and release the processor when needed.
This is like the multi-tasking on the older Windows releases, and is why on these, an application that sat (for example), polling the keyboard, could 'lock up' the rest of the OS.

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