chickadee » mailbox-threads » thread-receive

thread-receive #!optional TIMEOUT DEFAULTprocedure

Returns the next message of the current thread's mailbox. This will block until a message arrives unless TIMEOUT is given (for definition of time units see mailbox-receive! procedure). If the timeout is reached DEFAULT is returned.