Mutual Exclusion: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
== Parameters == | == Parameters == | ||
n: number of processors | $n$: number of processors | ||
== Table of Algorithms == | == Table of Algorithms == | ||
Line 24: | Line 24: | ||
| [[Maekawa's algorithm ( Mutual Exclusion)|Maekawa's algorithm]] || 1985 || | | [[Maekawa's algorithm ( Mutual Exclusion)|Maekawa's algorithm]] || 1985 || | ||
|- | |- | ||
| [[Raymond's algorithm ( Mutual Exclusion)|Raymond's algorithm]] || 1997 || $O( | | [[Raymond's algorithm ( Mutual Exclusion)|Raymond's algorithm]] || 1997 || $O(\log n) | ||
|- | |- | ||
| [[Suzuki-Kasami's algorithm ( Mutual Exclusion)|Suzuki-Kasami's algorithm]] || 1985 || | | [[Suzuki-Kasami's algorithm ( Mutual Exclusion)|Suzuki-Kasami's algorithm]] || 1985 || | ||
Line 32: | Line 32: | ||
| [[Peterson's algorithm ( Mutual Exclusion)|Peterson's algorithm]] || 1981 || | | [[Peterson's algorithm ( Mutual Exclusion)|Peterson's algorithm]] || 1981 || | ||
|- | |- | ||
| [[Naimi-Trehel's algorithm ( Mutual Exclusion)|Naimi-Trehel's algorithm]] || 1996 || $O( | | [[Naimi-Trehel's algorithm ( Mutual Exclusion)|Naimi-Trehel's algorithm]] || 1996 || $O(\log n) | ||
|- | |- | ||
| [[Chan-Singhal-Liu ( Mutual Exclusion)|Chan-Singhal-Liu]] || 1990 || $O( | | [[Chan-Singhal-Liu ( Mutual Exclusion)|Chan-Singhal-Liu]] || 1990 || $O(\log n) | ||
|- | |- | ||
|} | |} |
Revision as of 08:52, 10 April 2023
Description
Mutual exclusion is a property of concurrency control; which is instituted for the purpose of preventing race conditions.
Parameters
Table of Algorithms
Name | Year | Time | Space | Approximation Factor | Model | Reference |
---|---|---|---|---|---|---|
Lamport's bakery algorithm | 1974 | Exact | Deterministic | Time & Space | ||
Szymanski's algorithm | 1988 | Exact | Deterministic | Time & Space | ||
Taubenfeld's black-white bakery algorithm | 2004 | Exact | Deterministic | Time & Space | ||
Maekawa's algorithm | 1985 | Exact | Deterministic | Time & Space | ||
Raymond's algorithm | 1997 | Exact | Deterministic | Time & Space | ||
Suzuki-Kasami's algorithm | 1985 | Exact | Deterministic | Time & Space | ||
Dekker's algorithm | 1963 | Exact | Deterministic | |||
Peterson's algorithm | 1981 | Exact | Deterministic | Time | ||
Naimi-Trehel's algorithm | 1996 | Exact | Deterministic | Time | ||
Chan-Singhal-Liu | 1990 | Exact | Deterministic | Time |