menu search
person
thumb_up_alt 1 like thumb_down_alt 0 dislike
284 views

Your answer

Can you give answer to this question ?

Upload an image:

Privacy: Your email address will only be used for sending these notifications.

1 Answer

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.

thumb_up_alt 0 like thumb_down_alt 0 dislike
← Prev Question Next Question →
Request Answer

Related questions

thumb_up_alt 3 like thumb_down_alt 0 dislike
45 views 1 answer
thumb_up_alt 0 like thumb_down_alt 0 dislike
51 views 0 answers
thumb_up_alt 0 like thumb_down_alt 0 dislike
154 views 1 answer
thumb_up_alt 0 like thumb_down_alt 0 dislike
69 views 0 answers
thumb_up_alt 0 like thumb_down_alt 0 dislike
32 views 1 answer
thumb_up_alt 3 like thumb_down_alt 1 dislike
51 views 1 answer
thumb_up_alt 0 like thumb_down_alt 0 dislike
47 views 1 answer
thumb_up_alt 2 like thumb_down_alt 0 dislike
85 views 1 answer
thumb_up_alt 3 like thumb_down_alt 0 dislike
71 views 1 answer
thumb_up_alt 0 like thumb_down_alt 0 dislike
30 views 1 answer
thumb_up_alt 0 like thumb_down_alt 0 dislike
56 views 1 answer
thumb_up_alt 0 like thumb_down_alt 0 dislike
147 views 1 answer
thumb_up_alt 0 like thumb_down_alt 0 dislike
82 views 1 answer
thumb_up_alt 0 like thumb_down_alt 0 dislike
40 views 2 answers
thumb_up_alt 0 like thumb_down_alt 0 dislike
35 views 1 answer
thumb_up_alt 0 like thumb_down_alt 0 dislike
33 views 1 answer
thumb_up_alt 0 like thumb_down_alt 0 dislike
362 views 1 answer
thumb_up_alt 0 like thumb_down_alt 0 dislike
42 views 1 answer
thumb_up_alt 0 like thumb_down_alt 0 dislike
27 views 1 answer
thumb_up_alt 0 like thumb_down_alt 0 dislike
98 views 1 answer
thumb_up_alt 1 like thumb_down_alt 0 dislike
2,984 views 1 answer
thumb_up_alt 0 like thumb_down_alt 0 dislike
527 views 0 answers
thumb_up_alt 1 like thumb_down_alt 0 dislike
109 views 1 answer
thumb_up_alt 0 like thumb_down_alt 0 dislike
18 views 1 answer
thumb_up_alt 0 like thumb_down_alt 0 dislike
10 views 1 answer
thumb_up_alt 0 like thumb_down_alt 0 dislike
4 views 1 answer
thumb_up_alt 0 like thumb_down_alt 0 dislike
690 views 1 answer
thumb_up_alt 0 like thumb_down_alt 0 dislike
71 views 0 answers
thumb_up_alt 3 like thumb_down_alt 0 dislike
69 views 1 answer
thumb_up_alt 0 like thumb_down_alt 0 dislike
263 views 1 answer
thumb_up_alt 0 like thumb_down_alt 0 dislike
42 views 1 answer
thumb_up_alt 0 like thumb_down_alt 0 dislike
126 views 1 answer
thumb_up_alt 0 like thumb_down_alt 0 dislike
123 views 1 answer
thumb_up_alt 0 like thumb_down_alt 0 dislike
53 views 0 answers
thumb_up_alt 0 like thumb_down_alt 0 dislike
35 views 0 answers
thumb_up_alt 0 like thumb_down_alt 0 dislike
55 views 1 answer
thumb_up_alt 0 like thumb_down_alt 0 dislike
74 views 1 answer
thumb_up_alt 0 like thumb_down_alt 0 dislike
2,994 views 1 answer
thumb_up_alt 0 like thumb_down_alt 0 dislike
80 views 1 answer
thumb_up_alt 2 like thumb_down_alt 0 dislike
613 views 1 answer
thumb_up_alt 0 like thumb_down_alt 0 dislike
33 views 1 answer
thumb_up_alt 0 like thumb_down_alt 0 dislike
113 views 1 answer
thumb_up_alt 0 like thumb_down_alt 0 dislike
72 views 1 answer
thumb_up_alt 0 like thumb_down_alt 0 dislike
86 views 1 answer
thumb_up_alt 0 like thumb_down_alt 0 dislike
37 views 0 answers
thumb_up_alt 0 like thumb_down_alt 0 dislike
57 views 0 answers
Welcome to AskOrAnswerMe.com , where you can ask questions and receive answers from other user. Feel free to ask any question. Help everyone by giving best answer to the questions.

11,554 questions

10,171 answers

190 comments

4,088 users

...