(C) 1998 AROS - The Amiga Research OS


NAME

void PutMsg (port , message)

LOCATION
In SysBase at offset 61

SYNOPSIS
struct MsgPort * port
struct Message * message

FUNCTION
Sends a message to a given message port. Messages are not copied from one task to another but must lie in shared memory instead. Therefore the owner of the message may generally not reuse it before it is returned. But this depends on the two tasks sharing the message.

INPUTS
port
Pointer to messageport.
message
Pointer to message.

RESULT

EXAMPLE

SEE ALSO
WaitPort(), GetMsg()

NOTES
It is legal to send a message from within interrupts.

Messages may either trigger a signal at the owner of the messageport or raise a software interrupt, depending on port->mp_Flags&PF_ACTION.

BUGS

INTERNALS

HISTORY