What are the differences between threads and processes?
- A single process can have multiple threads.
Shared stuff for threads (within same process)
- Memory context: Text, Data, Heap
- OS Context: Process id, files etc…
unique stuff threads (within same process):
- identification (thread id)
- registers (general purpose and special)
- Stack