LispWorks User Guide and Reference Manual > 15 Multiprocessing > 15.2 The process programming interface > 15.2.6 Old interrupt blocking APIs removed

NextPrevUpTopContentsIndex

15.2.6.2 Atomic push/pop

Old:

(without-interrupts
 (push value *global-list*))
     (without-interrupts
      (pop *global-list*))

New: use low level atomic operations.

(sys:atomic-push value *global-list*)
 
(sys:atomic-pop *global-list*)

LispWorks User Guide and Reference Manual - 22 Dec 2009

NextPrevUpTopContentsIndex