Create a new message port
Source position: exec.pas line 1322
function CreateMsgPort: PMsgPort; |
A pointer to the fresh allocted and initialized MsgPort or nil if failed.
Allocates and initializes a new message port. The message list of the new port will be prepared for use (via NewList). A signal bit will be allocated, and the port will be set to signal your task when a message arrives (PA_SIGNAL).
You must use DeleteMsgPort() to delete ports created with this function!
|
Free a message port |