vault backup: 2025-04-06 17:54:00
This commit is contained in:
parent
85864a4edc
commit
e5f0cf896b
1 changed files with 2 additions and 1 deletions
|
@ -299,4 +299,5 @@ def end_write() :=
|
|||
W_MUTEX.up()
|
||||
return
|
||||
```
|
||||
This is prioritizing writers as if there are writers waiting, they will be waiting at `GLOB_MUTEX.down()`. This semaphore is upped before `PRIO_MUTEX` which is the one that blocks readers.
|
||||
This is prioritizing writers as if there are writers waiting, they will be waiting at `GLOB_MUTEX.down()`. This semaphore is upped before `PRIO_MUTEX` which is the one that blocks readers.
|
||||
It is weak as a writer cannot block readers twice.
|
Loading…
Add table
Add a link
Reference in a new issue