Handbook
Glossary
mailbox-get-all ( mailbox -- seq )
Mailboxes
Prev:
mailbox-get-timeout? ( mailbox timeout pred -- obj )
Next:
mailbox-get-all-timeout ( mailbox timeout -- seq )
Vocabulary
concurrency
.
mailboxes
Inputs
mailbox
a
mailbox
Outputs
seq
a
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
IN:
concurrency.mailboxes
:
mailbox-get-all
( mailbox -- seq )
f
mailbox-get-all-timeout
;