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 |
What is synchronization and why is it important?
whats is mean by tiles in struts
iam writing the contents to a excel through I/O i am putting first statement as WRITE and then READ(from excel) immediately..later user complains that he is not getting the date by using READ ..wat could be the situation
difference between applicationserver and webserver
How do you download stubs from a Remote place?
What is the form of storage space in java?
What is meant by method chaining?
What is daemon thread?
How to add new JTabbed pane?
What is Connection Pooling?
1 Answers Enteg Technologies, Infosys, Polaris,
Why use a datasource when you can directly specify a connection details?
What is the purpose of the wait(), notify(), and notifyall() methods?