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 exceptions are thrown by RMI?
difference between applicationserver and webserver
What is MOM?
What is waiting state? In what ways a thread can enter into waiting state?
What is the use of Semaphore?
What is colon_pkg_prefixes and what is its use?
When you will synchronize your code?
Can a thread be a member of another thread?
What is the difference between the session.get() method and the session.load() method?
What are the different algorithms used for clustering?
Do I have to use jsps with my application?
What are the different class loaders used by jvm?