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

mailbox-size Function

Summary

Returns the size of a mailbox.

Package

mp

Signature

mailbox-size mailbox => size

Arguments
mailbox
Values
size
An non-negative integer.
Description

The function mailbox-size returns the size of mailbox, which is the number of objects that can be added without it growing.

mailbox-send automatically expands the mailbox indefinitely when it is full, but mailbox-send-limited and process-send will expand it up to some specified limit.

See also

mailbox-send
mailbox-send-limited
process-send
make-mailbox
19.6.3 Communication between processes and synchronization


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