Availability:built-in
- alias(Alias)
- Queue has the given alias name.
- max_size(Size)
- Maximum number of terms that can be in the queue. See message_queue_create/2. This property is not present if there is no limit (default).
- size(Size)
- Queue currently contains Size terms. Note that due to concurrent access the returned value may be outdated before it is returned. It can be used for debugging purposes as well as work distribution purposes.
The size(Size)
property is always present and may be
used to enumerate the created message queues. Note that this predicate
does
not enumerate threads, but can be used to query the properties
of the default queue of a thread.