MBX_delete
2-198
C Interface
Syntax
MBX_delete(mbx);
Parameters
MBX_Handle mbx;
/* mailbox object handle */
Return Value
Void
Description
MBX_delete frees the mailbox object referenced by mbx.
MBX_delete calls MEM_free to delete the MBX 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
❏
No tasks should be pending on mbx when MBX_delete is called.
❏
MBX_delete cannot be called from a SWI or HWI.
❏
No check is performed to prevent MBX_delete from being used on a
statically-created object. If a program attempts to delete a mailbox
object that was created using Tconf, SYS_error is called.
See Also
MBX_delete
Delete a mailbox