Can two threads share the same stack?



Can two threads share the same stack?..

Answer / Abhijeet Verma

Yes, in some operating systems like Linux, multiple threads can share the same stack. However, it is also possible for threads to have their own stacks. The choice depends on factors such as performance and error handling requirements.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Linux Threads Interview Questions

How many threads does an i7 8700k have?

1 Answers  


What are the differences between user level threads and kernel threads?

1 Answers  


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

2 Answers  


How does thread pool keeps the thread alive?

1 Answers  


How do cpu threads work?

1 Answers  


Can we overload run method of thread?

1 Answers  


Why are goroutines not lightweight threads?

1 Answers  


What is difference between thread and runnable?

1 Answers  


Is threading harmful?

1 Answers  


Are threads processes?

1 Answers  


Do threads share variables?

1 Answers  


How many goroutines are in a thread?

1 Answers  


Categories