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

NextPrevUpTopContentsIndex

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

A 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-empty-p
mailbox-peek
mailbox-read
mailbox-send
process-whostate
make-unlocked-queue


LispWorks User Guide and Reference Manual - 13 Feb 2015

NextPrevUpTopContentsIndex