Availability:built-in
[semidet]thread_peek_message(+Queue,
?Term)As thread_peek_message/1,
operating on a given queue. It is allowed to peek into another thread's
message queue, an operation that can be used to check whether a thread
has swallowed a message sent to it.