From cc646c8e2a6a26c729f4d46f3ac8a8c4848f3dab Mon Sep 17 00:00:00 2001 From: Marco Realacci Date: Wed, 12 Mar 2025 10:59:27 +0100 Subject: [PATCH] vault backup: 2025-03-12 10:59:27 --- .obsidian/workspace.json | 4 ++-- Concurrent Systems/notes/4 - Semaphores.md | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json index 8236f1a..fbaa41b 100644 --- a/.obsidian/workspace.json +++ b/.obsidian/workspace.json @@ -34,9 +34,9 @@ "type": "pdf", "state": { "file": "Concurrent Systems/slides/class 4.pdf", - "page": 4, + "page": 5, "left": -23, - "top": 187, + "top": 391, "zoom": 0.652019002375297 }, "icon": "lucide-file-text", diff --git a/Concurrent Systems/notes/4 - Semaphores.md b/Concurrent Systems/notes/4 - Semaphores.md index 599ffb0..be9bc6e 100644 --- a/Concurrent Systems/notes/4 - Semaphores.md +++ b/Concurrent Systems/notes/4 - Semaphores.md @@ -89,3 +89,8 @@ B.consume() := return tmp ``` +> [!note] Downside +> Reading from / writing into the buffer can be very expensive! + +#### (Multiple) Producers/Consumers +**Accessing BUF in MUTEX slows down the implementation** \ No newline at end of file