Introduction # This is my understanding of Synchronization concepts in the Linux Kernel.
The need for synchronization? # Imagine that there are multiple threads that are trying to write to a global/shared data at a given point in time. Which thread is going to update the data first? What happens to shared data in case of a race condition?
So how do we guarantee that in the case of concurrent execution the writable shared data is accessed by only one thread?
...
Introduction # This is my understanding of Synchronization concepts in the Linux Kernel.
The need for synchronization? # Imagine that there are multiple threads that are trying to write to a global/shared data at a given point in time. Which thread is going to update the data first? What happens to shared data in case of a race condition?
So how do we guarantee that in the case of concurrent execution the writable shared data is accessed by only one thread?
...
Introduction # This is my understanding of Synchronization concepts in the Linux Kernel.
The need for synchronization? # Imagine that there are multiple threads that are trying to write to a global/shared data at a given point in time. Which thread is going to update the data first? What happens to shared data in case of a race condition?
So how do we guarantee that in the case of concurrent execution the writable shared data is accessed by only one thread?
...