+ 5

What threads share and what they have own seperate?

What threads share and what they have own seperate? ~system programming Example: Stack Heap Memory P. C

15th May 2019, 12:42 PM
Aaditya Deshpande
Aaditya Deshpande - avatar
1 Odpowiedź
+ 2
Threads share memory, meaning you can for example directly access the variables inside a thread. They live in the same process, therefore, closing the process results in removing all threads, unlike multiprocessing.
15th May 2019, 12:45 PM
inxanedev!
inxanedev! - avatar