Apps Components Interfaces All Files Source Tree | source: tos.lib.VM.interfaces.BombillaQueue.nc |
Interface for operating on Bombilla context queues.
Commands |
Commands - Details |
Parameters: |
queue - The queue whose emptiness is being queried. |
Returns: | TRUE if empty, FALSE otherwise. |
Parameters: |
context - The context performing the enqueue operation. queue - The queue on which the element is to be placed. element - The context to be placed on the queue. |
Returns: | SUCCESS if enqueued properly, FAIL otherwise. |
Parameters: |
context - The context performing the dequeue operation. queue - The queue from which the context is to be removed. |
Returns: | The removed context, NULL if queue was empty. |
Parameters: |
context - The context performing the remove operation. queue - The queue from which the element is to be removed. element - The context to be removed from the queue. |
Returns: | SUCCESS if removed properly, FAIL if not removed or element was not on queue. |