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

NextPrevUpTopContentsIndex

mailbox-count

Function
Summary

Returns the number of objects currently in a mailbox.

Package

mp

Signature

mailbox-count mailbox => count

Arguments

mailbox

A mailbox.

Values

count

A non-negative integer.

Description

The function mailbox-count returns the number of objects currently in the mailbox mailbox.

mailbox should be an object of type mailbox.

A mailbox is empty if its count is 0.

See also

mailbox-empty-p
mailbox-not-empty-p
make-mailbox
Communication between processes and synchronization


LispWorks User Guide and Reference Manual - 20 Sep 2017

NextPrevUpTopContentsIndex