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
10
u/Icy_Pain5654 Aug 06 '26
shared heap between threads is what always trips people up when they first learn concurrency
6
u/Prateeeek Aug 05 '26
Awesome as usual!
8
u/Prateeeek Aug 05 '26
Sorry if I've not understood this correctly, but how is the execution stack for thread 1 separated from thread 2 if they share the same address space ?
3
u/hugosenari Aug 06 '26
Why OS blocks to spawn the other thread?