This is the safe-queue Reference Manual, version 0.2, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 07:38:32 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
safe-queue
Thread-safe queue and mailbox
Ilya Khaprov <ilya.khaprov@publitechs.com>
3b
MIT
0.2
split-sequence
(system).
sb-concurrency
(system).
src/package.lisp
(file).
src/sb-concurrency-patch.lisp
(file).
src/concurrency-sbcl.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
safe-queue/safe-queue.asd
safe-queue/src/package.lisp
safe-queue/src/sb-concurrency-patch.lisp
safe-queue/src/concurrency-sbcl.lisp
safe-queue/src/sb-concurrency-patch.lisp
src/package.lisp
(file).
safe-queue
(system).
safe-queue/src/concurrency-sbcl.lisp
src/sb-concurrency-patch.lisp
(file).
safe-queue
(system).
dequeue
(function).
enqueue
(function).
mailbox
(type).
mailbox-count
(function).
mailbox-empty-p
(function).
mailbox-list-messages
(function).
mailbox-receive-message
(function).
mailbox-receive-message-no-hang
(function).
mailbox-receive-pending-messages
(function).
mailbox-send-message
(function).
make-mailbox
(function).
make-queue
(function).
queue
(type).
queue-count
(function).
queue-empty-p
(function).
mailboxp
(function).
Packages are listed by definition order.
safe-queue
common-lisp
.
dequeue
(function).
enqueue
(function).
mailbox
(type).
mailbox-count
(function).
mailbox-empty-p
(function).
mailbox-list-messages
(function).
mailbox-receive-message
(function).
mailbox-receive-message-no-hang
(function).
mailbox-receive-pending-messages
(function).
mailbox-send-message
(function).
make-mailbox
(function).
make-queue
(function).
queue
(type).
queue-count
(function).
queue-empty-p
(function).
mailboxp
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Retrieves the oldest value in QUEUE and returns it as the primary value, and T as secondary value. If the queue is empty, returns NIL as both primary and secondary value.
Adds VALUE to the end of QUEUE. Returns VALUE.
Returns the number of messages currently in the MAILBOX.
Returns true if MAILBOX is currently empty, NIL otherwise.
Returns a fresh list containing all the messages in the mailbox. Does not remove messages from the mailbox.
Removes the oldest message from MAILBOX and returns it as the primary value. If MAILBOX is empty waits until a message arrives.
The non-blocking variant of RECEIVE-MESSAGE. Returns two values, the message removed from MAILBOX, and a flag specifying whether a message could be received.
Removes and returns all (or at most N) currently pending messages
from MAILBOX, or returns NIL if no messages are pending.
Note: Concurrent threads may be snarfing messages during the run of this function, so even though X,Y appear right next to each other in the result, does not necessarily mean that Y was the message sent right after X.
Adds a MESSAGE to MAILBOX. Message can be any object.
Returns a new MAILBOX with messages in INITIAL-CONTENTS enqueued.
Returns a new QUEUE with NAME and contents of the INITIAL-CONTENTS sequence enqueued.
Returns the number of messages currently in the QUEUE.
Returns true if QUEUE is currently empty, NIL otherwise.
Returns true if MAILBOX is currently empty, NIL otherwise.
Jump to: | D E F M Q |
---|
Jump to: | D E F M Q |
---|
Jump to: | F M P Q S T |
---|
Jump to: | F M P Q S T |
---|