Files
CLASH/src/lwl-locking.cl
2000-10-09 21:55:43 +00:00

25 lines
506 B
Common Lisp

;;;; CLASH --- The Common Lisp Adaptable Simple HTTP server
;;;; This is copyrighted software. See documentation for terms.
;;;;
;;;; lwl-locking.cl --- Platform independent locking primitives
;;;;
;;;; Checkout Tag: $Name$
;;;; $Id$
(in-package :CLASH)
;;;; %File Description:
;;;;
;;;;
;;;;
;;; Locking primitives for LWL
(defmacro pop-atomically (place)
`(mp:without-preemption
(pop ,place)))
(defmacro push-atomically (value place)
`(mp:without-preemption
(push ,value ,place)))