Skip to content
This repository has been archived by the owner on May 16, 2021. It is now read-only.
/ cl-cas-queue Public archive

A lock-free queue implementation for some Common Lisp environments

License

Notifications You must be signed in to change notification settings

zerth/cl-cas-queue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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))

About

A lock-free queue implementation for some Common Lisp environments

Resources

License

Stars

Watchers

Forks

Packages