AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Symbol Tables and Memory Shared by Threads
Every process of thread had to have its own memory. And how can they even share them? No, they share memories. It means you could have two parallel threads that both modify a global variable and they can see each other's changes in real time. So there is performance effect if you're hitting the same memory. But the processor does make sure you get consistent results.