Availability:built-in
[det]message_queue_destroy(+Queue)Destroy a message queue created with message_queue_create/1.
A permission error is raised if Queue refers to (the default
queue of) a thread. Other threads that are waiting for Queue
using
thread_get_message/2
receive an existence error.