Adds an object to a mailbox.
mp
mailbox-send mailbox object
mailbox⇩ |
A mailbox. |
object⇩ |
An object. |
The function mailbox-send
sends object to mailbox. The object is queued in the mailbox for retrieval by the reader.
When objects are read from from the mailbox (using mailbox-read or higher level functions such as mailbox-wait-for-event), they are read in the order in which they were added to the mailbox.
If mailbox is full, mailbox-send
expands it. In situations where the mailbox can grow too much, you can use mailbox-send-limited instead.
mailbox-empty-p
mailbox-peek
mailbox-read
mailbox-send-limited
mailbox-count
mailbox-size
process-send
make-mailbox
19.6.3 Communication between processes and synchronization
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:51