Embedded / RTOS

Moderators: None (Apply to moderate this forum)
Number of threads: 362
Number of posts: 665

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
ROTS Posted by newpandian on 9 Aug 2004 at 7:25 PM
I am new one of programmers heaven. Can any one explaine the full detail of task (types preemptive, sheduling)and diffrent between normal OS and RTOS?
Report
Re: ROTS Posted by johnsonme on 18 Aug 2004 at 10:03 PM
It is often essential to organize applications into independent, though cooperating, programs. Each of these programs, while executing, is called a task.
With a preemptive priority-based scheduler, each task has a priority and the kernel ensures that the CPU is allocated to the highest priority task that is ready to run. This scheduling method is preemptive in that if a task that has higher priority than the current task becomes ready to run, the kernel immediately saves the current task's context and switches to the context of the higher priority task.
Preemptive priority scheduling can be augmented with round-robin scheduling. A round-robin scheduling algorithm attempts to share the CPU fairly among all ready tasks of the same priority. Without round-robin scheduling, when multiple tasks of equal priority must share the processor, a single task can usurp the processor by never blocking, thus never giving other equal-priority tasks a chance to run.
In normal OS, the result of the processing may or may not come and there is no guarentee that the result will be produced. It may not process the request in real time nor respond to any request in specified time. But in RTOS, there is a guarentee that the result will be there, and that too in specified time.




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.