Operating Systems, Processes And Threads, Multitasking.
The variable a seems to be the same between the two blocks of code. And changing it seems to propagate between processes somehow, right? Wrong. Both processes have their own variable a, tightly guarded by the operating system so it cannot be touched by the other. So then, how do I tell the other