On a computer that having single CPU, how multithreading
concept can be achieved?



On a computer that having single CPU, how multithreading concept can be achieved?..

Answer / amalendra

Depending on the OS algorithm, each thread gets a specific
time slice to execute on processor. thus if one thread is
executing on the processor at that time all other thread
will be queue.
OS algorithm can be Round-Ronin, LUF...etc.

Is This Answer Correct ?    10 Yes 0 No

Post New Answer

More Advanced Java Interview Questions

Is 'synchronised' a modifier?

2 Answers   NIIT,


How can I avoid validating a form before data is entered?

0 Answers  


What is an abstract method?

0 Answers  


what is handle?

0 Answers  


What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?

0 Answers  


To identify IDL language what mapping mechanism is used?

0 Answers  


Which container method is used to cause a container to be laid out and redisplayed?

0 Answers  


What is waiting state? In what ways a thread can enter into waiting state?

2 Answers   Wipro,


What is a modular application? What does module-relative mean?

0 Answers  


What is prototype?

0 Answers  


How many ways can a thread be used?

4 Answers   Sun Microsystems,


What are the different class loaders used by jvm?

0 Answers  


Categories