Vocabulary
concurrency.mailboxes

Inputs
mailboxa mailbox


Outputs
seqa sequence


Word description
Blocks the thread if the mailbox is empty, then removes all objects in the mailbox and returns a sequence containing the objects.

Definition