How do cpu threads work?



How do cpu threads work?..

Answer / Desh Deepak

CPU threads are created within a single process and share the same address space. The operating system's scheduler manages their execution by switching between them to give the illusion of concurrent processing. Each thread has its own program counter, stack, and local variables.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Linux Threads Interview Questions

How many maximum threads can you create?

1 Answers  


A _____ cpu is a cpu that has a speed greater than the speed that was originally intended for the processor.

2 Answers  


What are kernel threads?

1 Answers  


How many threads can jvm handle?

1 Answers  


Why do we use thread in sleep?

1 Answers  


What does 4 cores 8 threads mean?

1 Answers  


What is a lightweight thread?

1 Answers  


Do threads get their own pid?

1 Answers  


How many threads can one core handle?

1 Answers  


What are the process states in linux?

1 Answers  


Why are user level threads faster than kernel level threads?

1 Answers  


Can two threads share the same stack?

1 Answers  


Categories