Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 810 Bytes

File metadata and controls

37 lines (24 loc) · 810 Bytes

NAME

ReplyMsg -- put a message to its reply port

SYNOPSIS

    ReplyMsg(message)
             A1

    void ReplyMsg(struct Message *);

Links: Message

FUNCTION

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.

INPUT 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 extreeme care).

SEE ALSO

GetMsg, PutMsg, exec/ports.h