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 are the design considerations while making a choice between using interface and abstract class?

737


Do you think that java should have had pointers?

797


Describe responsibilities of Activator?

1849


What is ioc concept & explain it?

803


What are the services in RMI ?

2070






What is JTS?

2054


Why doesn’t the focus feature on the tag work in every circumstance?

762


What is bean? Where can it be used?

779


How messaging services are done, before release of JMS?

1788


What modifiers may be used with an inner class that is a member of an outer class?

791


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

1949


What is ripple effect?

818


Why do I get a duplicate name error when loading a jar file?

794


Why a client should be multithreading? Explain.

789


Why is string immutable in java?

791