Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
194 views
in Computer by (237k points)
closed by
Which of the following is not true regarding a preemptive kernel
1. If a high priority thread becomes ready to run, low priority thread is preempted
2. The kernel checks for the high priority ready to run threads when ever called
3. The executing thread is never interrupted
4. There are special demands on communication between threads and handling common resources

1 Answer

0 votes
by (239k points)
selected by
 
Best answer
Correct Answer - Option 3 : The executing thread is never interrupted

PREEMPTIVE KERNEL:

A preemptive kernel is where the kernel allows a process to be removed and replaced while it is running in kernel mode.

Preemptive scheduling occurs When a process switches from the running state to the ready state (for example, when an interrupt occurs,it have high priority) OR When a process switches from the waiting state to the ready state (for example, at the completion of I/O) or when a special demand occurs from resource side.

So in preemptive kernel executing thread can be interrupted.

Non preemptive kernel:

It does not allow a process running in kernel mode to be preempted; a kernel-mode process will run until it exits kernel mode, blocks, or voluntarily yields control of the CPU.

Under non-preemptive scheduling, once the CPU has been allocated to a process, the process keeps the CPU until it releases the CPU either by terminating or by switching to the waiting state.

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...