All Manuals > LispWorks User Guide and Reference Manual > 15 Multiprocessing > 15.2 The process programming interface


15.2.6 Old interrupt blocking APIs removed

The macros mp:without-interrupts and mp:without-preemption , which were available in LispWorks 5.1 and earlier, are no longer supported. The semantics of these macros allowed them to be used for several different purposes, which now require specific solutions.

The following subsections show examples of typical uses of the old interrupt blocking APIs together with their replacements. The examples use mp:without-interrupts but the ideas also apply to uses of mp:without-preemption . Atomic increment Atomic push/pop Atomic push/delete Atomic plist update Atomic update of a data structure Atomic access to a cache in a hash table

LispWorks User Guide and Reference Manual - 21 Dec 2011