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

What is clustering? What are the different algorithms used for clustering?

0 Answers  


To what value is a variable of the string type automatically initialized?

0 Answers  


what's the main difference between unix os and linux os?

2 Answers   TCS,


what is difference between object state and behaviour?

3 Answers  


What is source and listener?

1 Answers  


How JNDI is used in JMS ?

1 Answers  


What is runnable?

2 Answers  


How to deploy Jar, War files in J2EE?

0 Answers   HCL,


What is RPC?

2 Answers  


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

0 Answers  


What are the different class loaders used by jvm?

0 Answers  


What is the O/P of the below Code Snippet ? And how does it imply the concept of call-by-value/call-by-reference. (Note : Pls ignore syntx errors) public class One { sop ("Into One--"); } public class Two extends One{ sop ("Into Two--"); } public class Home { One a; Two t; public static void main(argv[]) { sop ("In Home--"); sop(One.a); sop(Two.a); sop(One.t); sop(Two.t); } }

2 Answers   Wipro,


Categories