This shows you the differences between two versions of the page.
os_cp:semaphores [2023/05/10 01:20] jkonczak utworzono |
os_cp:semaphores [2023/05/10 02:23] (current) jkonczak [POSIX semaphore API] |
||
---|---|---|---|
Line 76: | Line 76: | ||
~~Exercise.#~~ Write a program that allows adding or retrieving data to/from | ~~Exercise.#~~ Write a program that allows adding or retrieving data to/from | ||
a [[https://en.wikipedia.org/wiki/Circular_buffer|ring buffer]] located in | a [[https://en.wikipedia.org/wiki/Circular_buffer|ring buffer]] located in | ||
- | shared memory and synchronizes processes accessing the buffer by means of a | + | shared memory and synchronizes processes accessing the buffer by means of |
- | named semaphore. | + | named semaphores. |
\\ | \\ | ||
<small> | <small> |