QUE Module
2-336
2.21
QUE Module
The QUE module is the atomic queue manager.
Functions
❏
QUE_create. Create an empty queue.
❏
QUE_delete. Delete an empty queue.
❏
QUE_dequeue. Remove from front of queue (non-atomically).
❏
QUE_empty. Test for an empty queue.
❏
QUE_enqueue. Insert at end of queue (non-atomically).
❏
QUE_get. Remove element from front of queue (atomically)
❏
QUE_head. Return element at front of queue.
❏
QUE_insert. Insert in middle of queue (non-atomically).
❏
QUE_new. Set a queue to be empty.
❏
QUE_next. Return next element in queue (non-atomically).
❏
QUE_prev. Return previous element in queue (non-atomically).
❏
QUE_put. Put element at end of queue (atomically).
❏
QUE_remove. Remove from middle of queue (non-atomically).
Constants, Types,
and Structures
typedef struct QUE_Obj *QUE_Handle;
/* queue obj handle */
struct QUE_Attrs{ /* queue attributes */
Int dummy; /* DUMMY */
};
QUE_Attrs QUE_ATTRS = { /* default attribute values */
0,
};
typedef QUE_Elem; /* queue element */
Configuration
Properties
The following list shows the properties that can be configured in a Tconf
script, along with their types and default values. For details, see the QUE
Manager Properties and QUE Object Properties headings. For
descriptions of data types, see Section 1.4,
Module Configuration Parameters
Name
Type
Default
OBJMEMSEG
Reference
prog.get("DARAM")