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

NextPrevUpTopContentsIndex

mailbox-full-p

Function
Summary

Tests whether a mailbox is full.

Package

mp

Signature

mailbox-full-p mailbox => bool

Arguments

mailbox

A 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
Communication between processes and synchronization


LispWorks User Guide and Reference Manual - 20 Sep 2017

NextPrevUpTopContentsIndex