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 identified by a blob (see section 12.4.8) and subject to garbage collection.181Garbage 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.