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

mailbox-count Function

Summary

Returns the number of objects currently in a mailbox.

Package

mp

Signature

mailbox-count mailbox => count

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


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