Add the rest of university notes

This commit is contained in:
John Gatward committed 2026-10-04 14:02:35 +01:00
1 parent c1b84c7f7d
commit d0f27f276b
366 files changed
+9844 -110

No files matched your search

+2 -2
View File
@@ -49,7 +49,7 @@ A correct implementation requires:
>
> `rwSync` : a semaphore that synchronises the readers and writers, set by the first/last reader.
![img](/lectures/osc/assets/y.png)
![img](assets/Y.png)
`sync` is used to `mutex_lock` and `mutex_unlock` when the `iReadCount` is being modified.
@@ -70,7 +70,7 @@ Unless `iReadCount` reaches 0, writing will not happen. **This means writers can
> * `sReadTry`: to **stop readers** when there is a **writer waiting**.
> * `sResource`: to **synchronise** the resource for **reading/writing**.
![img](/lectures/osc/assets/z.png)
![img](assets/Z.png)
[explanation time stamp 43:35]