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

make-mailbox Function

Summary

Makes a new mailbox.

Package

mp

Signature

make-mailbox &key size name => mailbox

Arguments
size
An integer.
name
A Lisp object.
Values
mailbox
Description

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).

See also

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 - 01 Dec 2021 19:30:51