r/programming • u/iximiuz • Aug 05 '26
Linux Processes: Threads & Concurrency
https://labs.iximiuz.com/tutorials/linux-processes-threads-concurrency-3302b677
93
Upvotes
r/programming • u/iximiuz • Aug 05 '26
View all comments
Show parent comment
22
u/dfx_dj Aug 05 '26 edited Aug 05 '26
They're separated in that each thread has its own stack in a separate address range. One thread can technically access another thread's stack though. It's uncommon to do but possible.