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

mailbox-full-p Function

Summary

Tests whether a mailbox is full.

Package

mp

Signature

mailbox-full-p mailbox => bool

Arguments
mailbox
Values
bool
A boolean.
Description

The function mailbox-full-p returns true if mailbox is empty and false otherwise.

Notes

Because of multiprocessing, it cannot be guaranteed that a subsequent call to mailbox-send will work without expansion even if mailbox-full-p returns false. mailbox-full-p is intended to be used as a wait-function (or inside a wait-function), and once it returns false you should use mailbox-send-limited to actually send and check what it returns.

See also

mailbox-send-limited
mailbox-size
mailbox-count
19.6.3 Communication between processes and synchronization


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