Docs » Autodocs » exec.library » ReplyMsg
ReplyMsg -- put a message to its reply port
ReplyMsg(message) A1 void ReplyMsg(struct Message *);
This function sends a message to its reply port. This is usually done when the receiver of a message has finished and wants to return it to the sender (so that it can be re-used or deallocated, whatever). This call may be made from interrupts.
message - a pointer to the message IMPLEMENTATION 1> Places "NT_REPLYMSG" into LN_TYPE. 2> Puts the message to the port specified by MN_REPLYPORT If there is no replyport, sets LN_TYPE to "NT_FREEMSG" (use this feature only with extreme care).
GetMsg(), PutMsg(), <exec/ports.h>
|