projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
implement ATOMIC-PUSH and ATOMIC-POP
[sbcl.git]
/
doc
/
manual
/
threading.texinfo
diff --git
a/doc/manual/threading.texinfo
b/doc/manual/threading.texinfo
index
1ea5e9a
..
7365510
100644
(file)
--- a/
doc/manual/threading.texinfo
+++ b/
doc/manual/threading.texinfo
@@
-109,6
+109,8
@@
lockless algorithms.
@include macro-sb-ext-atomic-decf.texinfo
@include macro-sb-ext-atomic-incf.texinfo
@include macro-sb-ext-atomic-decf.texinfo
@include macro-sb-ext-atomic-incf.texinfo
+@include macro-sb-ext-atomic-pop.texinfo
+@include macro-sb-ext-atomic-push.texinfo
@include macro-sb-ext-atomic-update.texinfo
@include macro-sb-ext-compare-and-swap.texinfo
@include macro-sb-ext-atomic-update.texinfo
@include macro-sb-ext-compare-and-swap.texinfo
@@
-119,8
+121,9
@@
similar to @code{setf}, allowing users to add CAS support to new
places via eg. @code{defcas}.
At the same time, new atomic operations can be built on top of CAS
places via eg. @code{defcas}.
At the same time, new atomic operations can be built on top of CAS
-using @code{get-cas-expansion}. See @code{atomic-update} for an
-example.
+using @code{get-cas-expansion}. See @code{atomic-update},
+@code{atomic-push}, and €@code{atomic-pop} for example of how to do
+this.
@include macro-sb-ext-cas.texinfo
@include macro-sb-ext-define-cas-expander.texinfo
@include macro-sb-ext-cas.texinfo
@include macro-sb-ext-define-cas-expander.texinfo
@@
-287,7
+290,8
@@
following functions and macros also serve as @code{:memory} barriers:
@itemize
@item
@itemize
@item
-@code{sb-ext:atomic-decf} and @code{sb-ext:atomic-incf}.
+@code{sb-ext:atomic-decf}, @code{sb-ext:atomic-incf}, @code{sb-ext:atomic-push},
+and @code{sb-ext:atomic-pop}.
@item
@code{sb-ext:compare-and-swap}.
@item
@item
@code{sb-ext:compare-and-swap}.
@item