memory barriers in lw 6.0?
I am trying to port my cl-skip-list
(https://github.com/kraison/cl-skip-list) library to Lispworks and am
wondering if there is an equivalent to sbcl's kernel barriers available:
http://www.sbcl.org/manual/index.html#Barriers. To see how I am using
these barriers, see
https://github.com/kraison/cl-skip-list/blob/master/mcas.lisp.
I am also wondering what the proper equivalent to sbcl's
with-pinned-objects would be; I think this might work, but the manual
doesn't offer a guarantee as to whether or not a gc will happen:
(unwind-protect
(progn
(hcl:avoid-gc)
( ... ))
(hcl:normal-gc))
Thanks,
Kevin