[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scratch/sqlite 47ab2d3: Note concurrency promises

From: Lars Ingebrigtsen
Subject: scratch/sqlite 47ab2d3: Note concurrency promises
Date: Sun, 12 Dec 2021 02:59:23 -0500 (EST)

branch: scratch/sqlite
commit 47ab2d3ceb49de4fc1b605d90703fbc6143e9fb3
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Note concurrency promises
 doc/lispref/variables.texi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi
index a4b4f33..f8a59c0 100644
--- a/doc/lispref/variables.texi
+++ b/doc/lispref/variables.texi
@@ -2839,7 +2839,9 @@ the value.  For instance:
 This will first check whether the value has changed in a different
 Emacs instance, retrieve that value, and then add 1 to that value, and
-then store it.
+then store it.  But note that this is done without locking, so if many
+instances are updating the value at the same time, it's unpredictable
+which instance ``wins''.
 @end defun
 @defun list-multisession-values

reply via email to

[Prev in Thread] Current Thread [Next in Thread]