[Overview][Constants][Types][Procedures and functions][Index] Reference for unit 'Exec' (#aros)

CreateMsgPort

Create a new message port

Declaration

Source position: exec.pas line 1319

function CreateMsgPort: PMsgPort;

Function result

A pointer to the fresh allocted and initialized MsgPort or nil if failed.

Description

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!

See also

DeleteMsgPort

  

Free a message port


Documentation generated on: 2017-01-10