diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json index f683b21..d22c59c 100644 --- a/.obsidian/workspace.json +++ b/.obsidian/workspace.json @@ -191,11 +191,12 @@ }, "active": "7c5b0ca6f7687800", "lastOpenFiles": [ - "Concurrent Systems/notes/2b - Round Robin algorithm.md", "Concurrent Systems/notes/3b - Aravind's algorithm and improvements.md", + "Concurrent Systems/notes/4 - Semaphores.md", + "Concurrent Systems/notes/2b - Round Robin algorithm.md", + "Concurrent Systems/notes/1b - Peterson algorithm.md", "Concurrent Systems/notes/4b - Monitors.md", "Concurrent Systems/notes/4c - Dining Philosophers.md", - "Concurrent Systems/notes/4 - Semaphores.md", "Concurrent Systems/a.md", "Concurrent Systems/notes/images/Pasted image 20250404235033.png", "Concurrent Systems/notes/images/Pasted image 20250304093223.png", @@ -208,7 +209,6 @@ "Concurrent Systems/notes/5 - Software Transactional Memory.md", "Concurrent Systems/notes/3a - Hardware primitives & Lamport Bakery algorithm.md", "Concurrent Systems/notes/1 - CS Basics.md", - "Concurrent Systems/notes/1b - Peterson algorithm.md", "Concurrent Systems/notes/6a - Alternatives to Atomicity.md", "Concurrent.md", "Concurrent Systems/slides/class 5.pdf", diff --git a/Concurrent Systems/notes/1b - Peterson algorithm.md b/Concurrent Systems/notes/1b - Peterson algorithm.md index 22625d3..296cfda 100644 --- a/Concurrent Systems/notes/1b - Peterson algorithm.md +++ b/Concurrent Systems/notes/1b - Peterson algorithm.md @@ -53,7 +53,7 @@ unlock(i) := **How has p0 entered its CS?** a) `FLAG[1] = down`, this is possible only with the following interleaving: -![](Concurrent%20Systems/notes/images/Pasted%20image%2020250303100721.png) +![](/Concurrent%20Systems/notes/images/Pasted%20image%2020250303100721.png) b) `AFTER_YOU = 1`, this is possible only with the following interleaving: ![](Concurrent%20Systems/notes/images/Pasted%20image%2020250303100953.png)