diff options
| author | Lars Ingebrigtsen | 2021-12-12 08:59:18 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2021-12-12 08:59:18 +0100 |
| commit | 47ab2d3ceb49de4fc1b605d90703fbc6143e9fb3 (patch) | |
| tree | 2945ce6413c5ad746e815191d8484a3e5a86e453 | |
| parent | 983017f96e0775d0356f2cc6bcbc77fc11d94c60 (diff) | |
| download | emacs-47ab2d3ceb49de4fc1b605d90703fbc6143e9fb3.tar.gz emacs-47ab2d3ceb49de4fc1b605d90703fbc6143e9fb3.zip | |
Note concurrency promises
| -rw-r--r-- | doc/lispref/variables.texi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi index a4b4f3302a2..f8a59c0272d 100644 --- a/doc/lispref/variables.texi +++ b/doc/lispref/variables.texi | |||
| @@ -2839,7 +2839,9 @@ the value. For instance: | |||
| 2839 | 2839 | ||
| 2840 | This will first check whether the value has changed in a different | 2840 | This will first check whether the value has changed in a different |
| 2841 | Emacs instance, retrieve that value, and then add 1 to that value, and | 2841 | Emacs instance, retrieve that value, and then add 1 to that value, and |
| 2842 | then store it. | 2842 | then store it. But note that this is done without locking, so if many |
| 2843 | instances are updating the value at the same time, it's unpredictable | ||
| 2844 | which instance ``wins''. | ||
| 2843 | @end defun | 2845 | @end defun |
| 2844 | 2846 | ||
| 2845 | @defun list-multisession-values | 2847 | @defun list-multisession-values |