summaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-11-05 23:22:41 +0000
committerGerrit Code Review <review@openstack.org>2018-11-05 23:22:41 +0000
commit0767ddf4c2b0d9c9866658e9eadb96b542aba57b (patch)
tree4e8cd80e9ea8f2f68821f7d20ba38b6771d1f52f /releasenotes
parentde4d88d5c1828dff617e810910d2265c8a91672c (diff)
parent2b55da68ae45ff45cba68672cdbc24342cf115f6 (diff)
downloadoslo-concurrency-0767ddf4c2b0d9c9866658e9eadb96b542aba57b.tar.gz
Merge "Add support for fair locks"3.29.0
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/notes/add-option-for-fair-locks-b6d660e97683cec6.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/releasenotes/notes/add-option-for-fair-locks-b6d660e97683cec6.yaml b/releasenotes/notes/add-option-for-fair-locks-b6d660e97683cec6.yaml
new file mode 100644
index 0000000..ad1cd4b
--- /dev/null
+++ b/releasenotes/notes/add-option-for-fair-locks-b6d660e97683cec6.yaml
@@ -0,0 +1,15 @@
+---
+prelude: >
+ This release includes optional support for fair locks. When fair locks
+ are specified, blocking waiters will acquire the lock in the order that
+ they blocked.
+features:
+ - |
+ We now have optional support for ``fair`` locks. When fair locks are
+ specified, blocking waiters will acquire the lock in the order that they
+ blocked. This can be useful to ensure that existing blocked waiters do
+ not wait indefinitely in the face of large numbers of new attempts to
+ acquire the lock. When specifying locks as both ``external`` and ``fair``,
+ the ordering *within* a given process will be fair, but the ordering
+ *between* processes will be determined by the behaviour of the underlying
+ OS.