vault backup: 2025-03-25 08:28:01
This commit is contained in:
parent
2f1ed71b87
commit
1fe3d87c62
2 changed files with 9 additions and 2 deletions
|
@ -1,2 +1,9 @@
|
|||
Can we take the most basic protocol that satisfies the most basic liveness property (obstruction freedom) and "upgrade" it to bounded wait freedom?
|
||||
|
||||
**Contention manager:** is an object that allows progress of processes by providing contention-free periods for completing their invocations. It provides 2 operations:
|
||||
- `need_help(i)`: invoked by $p_i$ when it discovers that there is contention
|
||||
- `stop_help(i)`: invoked by $p_{i}$ when it terminates its current invocation
|
||||
|
||||
**Enriched implementation:** when a process realizes that there is contention, it invokes need_help; when it completes its current operation, it invokes stop_help.
|
||||
|
||||
Why is it different from lock/unlock? Because this allows failures, and they can also happen in the contention-free period.
|
Loading…
Add table
Add a link
Reference in a new issue