Welcome to electrical and electronics engineering discussion website, Please login or register to continue.

247 views
in Embedded System Design by

Your answer

Thanks for your contribution. Feel free to answer this question. Please avoid short answer. Your answer is most welcome. Be genuine.

Upload image or document:

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
Are you a robot ? (Y = Yes / N = No)
To avoid this verification in future, please log in or register.

1 Answer

0 votes
by

The scheduler is very important in Real-Time Operating System (RTOS). Selection of tasks for execution is provided by the scheduler. Which task to execute when it is provided by the scheduler.There are different types of the scheduling algorithm. Preemptive scheduling, Round-robin scheduling, cooperative scheduling are the types of scheduling algorithms. Mostly developer uses these algorithms but if needed Developer can create own custom scheduling algorithm.


Comparision between preemptive and non-preemptive scheduling:


If the process is running and a new process with high priority come to the processor the preemptive scheduling force the running process to remove and run the process with high priority. This is not the case in non-preemptive scheduling, in non-preemptive scheduling the processor does not remove the process until it completes the process.

In case of preemptive scheduling, the operating system has control to the processor in running state of the process. But, in case of non-preemptive scheduling once the process in the processor is in running state the operating system has no control over the processor.

"First come first served" is the type of non-preemptive scheduling. "Round-robin scheduling" is the type of preemptive scheduling.

Preemptive scheduling is not simple. Non-preemptive scheduling is simple.

Preemptive scheduling is flexible while non-preemptive scheduling is rigid.

Welcome to Q&A site for electrical and electronics engineering discussion for diploma, B.E./B.Tech, M.E./M.Tech, & PhD study.
If you have a new question please ask in English.
If you want to help this community answer these questions.

Categories

Most popular tags

power motor dc circuit voltage transformer current used system phase resistance factor load synchronous energy ac induction generator electric series frequency capacitor use speed between electrical meter line type mosfet control transmission difference magnetic plant high single instrument bjt source advantages function diode machine unit winding torque field parallel amplifier define supply thyristor motors arduino shunt maximum relay armature problem electricity time and value on transformers types coil diagram state flow ratio material three starting direction theorem method emf formula operating efficiency digital wave microprocessor test instruments loss measure operation connected low applications effect single-phase working losses different network law wattmeter inductance temperature measuring constant signal controlled breaker device full compare flux drive wire resistivity logic rc materials machines angle force switch disadvantages converter transistor gain protection scr core measurement number free bridge principle generators reactance circuits negative friction open pole conductor conservation steam iron loop resistors hysteresis short computer using lines secondary station battery rectifier inverter linear induced relays nuclear regulation design analog work rotor electronics gate forces diesel damping rlc connection factors capacitance capacitors minimum insulation basic moving running self systems air fault range direct main stability quality starter igbt eddy ideal ammeter rl 3-phase plants arc thermal error fuzzy biasing dielectric pressure balanced superposition errors rotation characteristics feedback impedance measured electronic inductive start alternator off back curve over solar average three-phase tariff locomotive peak bias zener commutator surge rating universal potentiometer density permanent mechanical copper transducer capacity electrons memory adc excitation transfer explain fuse pure harmonics application of inductor internal pmmc reaction welding resonance traction permeability breakers rms designed electromagnetic si generation brushes switching capacitive shaded rate distribution methods delta star oscillator reluctance semiconductor simplification algebra 8085 boolean weston dynamometer insulating strength installation definition fuel heating earth units neutral rated engineering conductors coefficient filter controller usually reverse
...