Makes a new mailbox.
mp
make-mailbox &key size name => mailbox
| size⇩ |
An integer. |
| name⇩ |
A Lisp object. |
| mailbox⇩ |
A mailbox. |
The function make-mailbox returns a new mailbox.
size specifies the initial size of the mailbox mailbox.
The reader process is set to nil.
name does not affect the functionality of mailbox, but can be very useful for debugging. It appears in the printed representation of mailbox, and also in the process-whostate of any process that waits for mailbox (using mailbox-read).
mailbox
mailbox-empty-p
mailbox-peek
mailbox-read
mailbox-send
process-whostate
make-unlocked-queue
19.6.3 Communication between processes and synchronization
LispWorks® User Guide and Reference Manual - 18 Feb 2025 15:32:36