All Manuals > LispWorks® User Guide and Reference Manual > 37 The HCL Package

unlocked-queue Type

Summary

A fast queue.

Package

hcl

Signature

unlocked-queue

Description

The type unlocked-queue is a fast queue (first in, first out) that is unlocked, not thread-safe and does not have waiting functionality. It does not do anything that mailbox cannot do, but it is faster. It is useful when you always access the queue together with other operations that need to be "atomic", so that you need a lock around them anyway, or when queueing and de-queueing is done on the same process.

See also

make-unlocked-queue


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:35