View previous topic :: View next topic |
Author |
Message |
arunb
Joined: 08 Sep 2003 Posts: 492 Location: India
|
Deciding functions for an RTOS |
Posted: Sat Mar 25, 2006 8:20 am |
|
|
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
|
|
Posted: Sat Mar 25, 2006 10:28 am |
|
|
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. |
|
|
|