Skip to content
This repository has been archived by the owner on May 16, 2021. It is now read-only.

Latest commit

 

History

History
17 lines (12 loc) · 290 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 290 Bytes

cas-queue

Basic lock-free queue implementation for LispWorks, CCL, and SBCL. Implemented using compare-and-swap.

Usage:

(defvar *q* (cas-queue:make-queue))

(defun push-item (x)
  (cas-queue:queue-push *q* x))

(defun pop-item ()
  (cas-queue:queue-pop *q* :wait-p t))