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

Explain what is orm?

676


Is jvm a overhead?

623


What restrictions are placed on the values of each case of a switch statement?

535


Can I import same package/class twice? Will the jvm load the package twice at runtime?

646


What is metaspace?

548






Why are component architectures useful?

572


What is the difference between system.out ,system.err and system.in?

596


Which containers use a border layout as their default layout?

606


What is ioc concept?

693


Can I map more than one table in a cmp?

590


What is the purpose of the wait(), notify(), and notifyall() methods?

568


Is the infobus client side only?

607


How substring() method of string class create memory leaks?

550


What is the difference between the session.get() method and the session.load() method?

600


What is an abstract method?

590