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

Deciding functions for an RTOS

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



Joined: 08 Sep 2003
Posts: 492
Location: India

View user's profile Send private message Send e-mail

Deciding functions for an RTOS
PostPosted: Sat Mar 25, 2006 8:20 am     Reply with quote

Hi,

Compiler: PCM
MCU: 16F877,16F628

I read an article on real time operating systems (RTOS), it was on the microchip website, here it was mentioned that the RTOS could be accessed by the use of messages,

Well how does one decide what messages to use, are these messages standard to all operating systems like Linnux or Windows ???

thanks
arunb
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

PostPosted: Sat Mar 25, 2006 10:28 am     Reply with quote

RTOS's are similar in nature but function calls are different depending on the RTOS. You need to read the documentation on the RTOS that you are using. Also be aware of 2 basic types, cooperative and preemptive. Cooperative only yields when the program tells it to yield. A preemptive RTOS will yield when another task with a higher priority becomes active. This is done by evaluating the tasks during say a timer interrupt.
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