QUE_delete
2-340
C Interface
Syntax
QUE_delete(queue);
Parameters
QUE_Handle queue;
/* queue handle */
Return Value
Void
Description
QUE_delete uses MEM_free to free the queue object referenced by
queue.
QUE_delete calls MEM_free to delete the QUE object. MEM_free must
acquire a lock to the memory before proceeding. If another task already
holds a lock to the memory, then there is a context switch.
Constraints and
Calling Context
❏
queue must be empty.
❏
QUE_delete cannot be called from a SWI or HWI.
❏
No check is performed to prevent QUE_delete from being used on a
statically-created object. If a program attempts to delete a queue
object that was created using Tconf, SYS_error is called.
See Also
QUE_delete
Delete an empty queue