pull/370/head
0xAX 8 years ago
parent 5105e1ca4b
commit 7b77abfe88

@ -6,7 +6,7 @@ Introduction
This part opens new chapter in the [linux-insides](http://0xax.gitbooks.io/linux-insides/content/) book. Timers and time management related stuff was described in The previous [chapter](https://0xax.gitbooks.io/linux-insides/content/Timers/index.html). As you may understand from the part's title, this chapter will describe [synchronization](https://en.wikipedia.org/wiki/Synchronization_%28computer_science%29) primitives in the Linux kernel.
As always, before we will consider something synchronization related, we will try to know what is `synchronization primite` in general. Actually, synchronization primitive is a software mechanism which provides ablility to two or more [concurent](https://en.wikipedia.org/wiki/Concurrent_computing) processes or threads to not execute simultaneously one the same segment of a code. For example let's look on the following piece of code:
As always, before we will consider something synchronization related, we will try to know what is `synchronization primitive` in general. Actually, synchronization primitive is a software mechanism which provides ablility to two or more [parallel](https://en.wikipedia.org/wiki/Parallel_computing) processes or threads to not execute simultaneously one the same segment of a code. For example let's look on the following piece of code:
```C
mutex_lock(&clocksource_mutex);

Loading…
Cancel
Save