Creates a message port.
Item CreateMsgPort( const char *name, uint8 pri, uint32 signal )
This convenience procedure creates a message port item. It also creates a message queue for the port in system RAM. You can use this procedure in place of CreateItem()
to create the item.
The procedure returns the item number of the new message port or an error code if an error occurs.
Convenience call implemented in clib.lib V20.
When you no longer need a message port use DeleteMsgPort()
to delete it.
You can use FindMsgPort()
to find a message port by name. When creating message ports you should assign unique names whenever possible.
CreateMsg
(), DeleteMsg(), DeleteMsgPort(), SendMsg(), SendSmallMsg()