All Manuals > LispWorks® User Guide and Reference Manual > 42 The MP Package

mailbox System Class

Summary

The class of objects representing mailboxes.

Package

mp

Superclasses

t

Description

Instances of the system class mailbox are used to communicate between processes. The communication is done by "sending" objects (any Lisp object) to a mailbox, and "reading" these objects from the mailbox. The objects will be read in the order in which they were sent. Sending is done by mailbox-send or mailbox-send-limited. Reading is done by mailbox-wait-for-event, mailbox-wait or mailbox-read. All mailbox access functions are thread-safe. You create a mailbox by using make-mailbox. You can also obtain the mailbox of a process by process-mailbox.

See also

mailbox-send
mailbox-send-limited
mailbox-wait-for-event
mailbox-wait
mailbox-read
make-mailbox
19.6.3 Communication between processes and synchronization


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