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

NextPrevUpTopContentsIndex

mailbox-send

Function
Summary

Adds an object to a mailbox.

Package

mp

Signature

mailbox-send mailbox object =>

Arguments

mailbox

A mailbox.

object

An object.

Description

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.

Notes

If mailbox is full, mailbox-send expands it. In situations where the mailbox can grow too much, you can use mailbox-send-limited instead.

See also

mailbox-empty-p
mailbox-peek
mailbox-read
mailbox-send-limited
mailbox-count
mailbox-size
process-send
make-mailbox
Communication between processes and synchronization


LispWorks User Guide and Reference Manual - 20 Sep 2017

NextPrevUpTopContentsIndex