What are preemptive scheduling and time slicing and what is
the difference between them?
Preemptive Scheduling is where one thread continues to
execute till such time its execution has completed or until
a thread of a higher priority comes into existence or the
priority of one of the waiting threads is increased.
Time Slicing is where each thread that is waiting to
execute will share the CPU time equally. One thread will
exeucte for n seconds or milliseconds, then go to the
waiting state again. the CPU scheduler will then determine
which of the other waiting threads will execute next.
| Is This Answer Correct ? | 11 Yes | 0 No |
When a thread blocks on i/o?
What are preemptive scheduling and time slicing and what is the difference between them?
Is “abc” a primitive value?
Do I have to use jsps with my application?
What is the relationship between an event-listener interface and an event-adapter class?
what is a non-repeatable read?
What is clustering? What are the different algorithms used for clustering?
hi, All are saying that now software field position is not good and in 5-10yrs total software field ll be saturated . is it true? i am unable decide ii continue in this field or not please tell me?
Why is main purpose of XML?
Is the ternary operator written x : y ? Z or x ? Y : z ?
What is synchronization and why is it important?
What is the name of the state, when a thread is executing?