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 the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?
What is the purpose of the notify() method?
Is “abc” a primitive value?
What are the high-level thread states?
How do u supress the parameters from the displaying in the url?
What are the types of data passing mechanisams under JMS specification?
which type of objects reference will be given to client?
Can we have more than one action servlet?
what is an isolation level?
Is 'synchronised' a modifier?
How would you detect a keypress in a jcombobox?
What is the purpose of the finally clause of a try-catch-finally statement?