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 jboss?
If I wanted to use a solarisui for just a jtabbedpane, and the metal ui for everything else, how would I do that?
What are synchronized methods and synchronized statements?
Write a program to show synchronization?
i have a 1000 objects in data base i need to display those in jsp's how can i retrive those objects in jsp. (consider the performance issue)
When a thread blocks on i/o, what state does it enter?
What is scalable, portability in the view of J2EE?
What is the relationship between the canvas class and the graphics class?
On a computer that having single CPU, how multithreading concept can be achieved?
In howmany ways a thread can be created?
How many times may an objects finalize() method be invoked by the garbage collector?
what is the proxy pattern?