Copyright © 2010-2011 Zuse Institute Berlin
Version: $Id$
Authors: Nico Kruber (kruber@zib.de).
msg_queue() = [comm:message()]
add/2 | Adds a message to a given queue. |
is_empty/1 | Checks whether the message queue is empty. |
new/0 | Creates a new message queue. |
send/1 | Sends queued messages to the process calling the method, i.e. |
new() -> msg_queue()
Creates a new message queue.
is_empty(QueuedMessages :: msg_queue()) -> boolean()
Checks whether the message queue is empty.
add(QueuedMessages :: msg_queue(), NewMessage :: comm:message()) -> msg_queue()
Adds a message to a given queue.
send(QueuedMessages :: msg_queue()) -> ok
Sends queued messages to the process calling the method, i.e. self(), in the order the messages have been queued.
Generated by EDoc, Feb 29 2016, 16:13:44.