Availability:built-in
[det]thread_get_message(+Queue, 
?Term)As thread_get_message/1, 
operating on a given queue. It is allowed (but not advised) to get 
messages from the queue of other threads. This predicate raises an 
existence error exception if Queue doesn't exist or is 
destroyed using message_queue_destroy/1 
while this predicate is waiting.