Debian Codegraph @

releasenotes/notes/add-option-for-fair-locks-b6d660e97683cec6.yaml

raw
1 ---
2 prelude: >
3 This release includes optional support for fair locks. When fair locks
4 are specified, blocking waiters will acquire the lock in the order that
5 they blocked.
6 features:
7 - |
8 We now have optional support for ``fair`` locks. When fair locks are
9 specified, blocking waiters will acquire the lock in the order that they
10 blocked. This can be useful to ensure that existing blocked waiters do
11 not wait indefinitely in the face of large numbers of new attempts to
12 acquire the lock. When specifying locks as both ``external`` and ``fair``,
13 the ordering *within* a given process will be fair, but the ordering
14 *between* processes will be determined by the behaviour of the underlying
15 OS.