- Memory is divided into stack and heap.
- Stack is further subdivided into per-thread stack.
- Variables local to the thread live on the stack as they need not be shared with any other thread
- Heap is the common place where objects live so that they can be share amongst different threads each having its own stack.
- For concurrent updation of objects in different threads, we must synchronize before accessing the objects
This design is spectacular! You definitely know how to keep a reader amused.
Between your wit and your videos, I was almost moved to start my own blog (well, almost…HaHa!)
Fantastic job. I really loved what you had to say, and more than that,
how you presented it. Too cool!