Skip to main content
added 72 characters in body
Source Link
Loki Astari
  • 11.2k
  • 2
  • 45
  • 71

I have been reading [Java Concurrency in Practice by Brian Goetz][1]Java Concurrency in Practice by Brian Goetz and inside the section Stack Confinement it is mentioned that each thread gets its own stack and so local variables are intrinsically confined to the executing thread; they exist on the executing threads stack, which is not accessible to other threads. What does he mean that each thread has its own execution stack ?

I have been reading [Java Concurrency in Practice by Brian Goetz][1] and inside the section Stack Confinement it is mentioned that each thread gets its own stack and so local variables are intrinsically confined to the executing thread; they exist on the executing threads stack, which is not accessible to other threads. What does he mean that each thread has its own execution stack ?

I have been reading Java Concurrency in Practice by Brian Goetz and inside the section Stack Confinement it is mentioned that each thread gets its own stack and so local variables are intrinsically confined to the executing thread; they exist on the executing threads stack, which is not accessible to other threads. What does he mean that each thread has its own execution stack ?

fix spelling
Source Link
Kilian Foth
  • 111k
  • 45
  • 301
  • 323

I have been reading [Java Concurrency in Practice by Brian Goetz][1] and inside the section Stack Confinement it is mentioned that each thread gets its own stack and so local variables areare intrinsically confined to the executing thread; thethey exist on the executing threads stack  , which is not accessible to other threads. What does he mean that each thread has its own execution stack ?

I have been reading [Java Concurrency in Practice by Brian Goetz][1] and inside the section Stack Confinement it is mentioned that each thread gets its own stack and so local variables are intrinsically confined to the executing thread; the exist on the executing threads stack  , which is not accessible to other threads. What does he mean that each thread has its own execution stack ?

I have been reading [Java Concurrency in Practice by Brian Goetz][1] and inside the section Stack Confinement it is mentioned that each thread gets its own stack and so local variables are intrinsically confined to the executing thread; they exist on the executing threads stack, which is not accessible to other threads. What does he mean that each thread has its own execution stack ?

Source Link
Geek
  • 5.2k
  • 8
  • 43
  • 59

Conceptually what does it mean when it is said that each thread gets its own stack?

I have been reading [Java Concurrency in Practice by Brian Goetz][1] and inside the section Stack Confinement it is mentioned that each thread gets its own stack and so local variables are intrinsically confined to the executing thread; the exist on the executing threads stack , which is not accessible to other threads. What does he mean that each thread has its own execution stack ?