X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=doc%2Fmanual%2Fthreading.texinfo;h=7365510a3d9fea47098ed8cb3776e2207f63a1a4;hb=af3fdb98f2b8718dbb69eba5db56dee369b142c7;hp=1ea5e9afe5ca8aa986f643a59ebf8c17b29fb460;hpb=76db27f585eda84ab93411dd61b32677355f8cc4;p=sbcl.git diff --git a/doc/manual/threading.texinfo b/doc/manual/threading.texinfo index 1ea5e9a..7365510 100644 --- 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-pop.texinfo +@include macro-sb-ext-atomic-push.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 -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 @@ -287,7 +290,8 @@ following functions and macros also serve as @code{:memory} barriers: @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