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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What value does read() return when it has reached the end of a file?

556


Is the ternary operator written x : y ? Z or x ? Y : z ?

639


Is infobus easy to use?

600


What is the difference between long.class and long.type?

571


What if the static modifier is removed from the signature of the main method?

709






How can I scroll through list of pages like the search results in google?

573


Is jvm a overhead?

631


If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?

1741


Is the infobus client side only?

615


What you mean by COM and DCOM?

619


What is meant by method chaining?

666


Why is string immutable in java?

584


How messaging services are done, before release of JMS?

1592


When is the best time to validate input?

612


Why are some of the class and element names counter-intuitive?

577