Availability:built-in
- alias(+Alias)
- Create a message queue that is identified by the atom Alias. Message queues created this way must be explicitly destroyed by the user. If the alias option is omitted, an Anonymous queue is created that is indentified by a blob (see section 11.4.7) and subject to garbage collection.162Garbage collecting anonymous message queues is not part of the ISO proposal and most likely not a widely implemented feature.
- max_size(+Size)
- Maximum number of terms in the queue. If this number is reached, thread_send_message/2 will suspend until the queue is drained. The option can be used if the source, sending messages to the queue, is faster than the drain, consuming the messages.