Common Lisp Package: LPARALLEL.SPIN-QUEUE

(private) Thread-safe FIFO queue which spins instead of locks.

README:

FUNCTION

Public

Undocumented

MAKE-SPIN-QUEUE

PEEK-SPIN-QUEUE (QUEUE)

POP-SPIN-QUEUE (QUEUE)

PUSH-SPIN-QUEUE (VALUE QUEUE)

SPIN-QUEUE-COUNT (QUEUE)

SPIN-QUEUE-EMPTY-P (QUEUE)

Private

MAKE-NODE (SE1 SE2)

Return a list with SE1 as the CAR and SE2 as the CDR.

SPIN-QUEUE-HEAD (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

SPIN-QUEUE-TAIL (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

Undocumented

%MAKE-SPIN-QUEUE (HEAD TAIL)

COPY-SPIN-QUEUE (INSTANCE)

SETFSPIN-QUEUE-HEAD (NEW-VALUE INSTANCE)

SPIN-QUEUE-P (OBJECT)

SETFSPIN-QUEUE-TAIL (NEW-VALUE INSTANCE)

TRY-EACH-ELEM (FUN QUEUE)

MACRO

Private

Undocumented

NODE-CAR (NODE)

NODE-CDR (NODE)

CLASS

Public

Undocumented

SPIN-QUEUE

CONSTANT

Private

Undocumented

+DEAD-END+

+DUMMY+