#include <cogent.h>
int IP_TaskSendSync(
IP_Task* myself, IP_Task* receiver, IP_Msg* smsg, IP_Msg* rmsg )
;
A task structure referring to the current task.
The task receiving the message.
The message structure containing the data to send.
The message structure into which received data will be written.
This function transmits a message (smsg) from myself to the receiver, and waits for the receiver to reply. There is no limit to how long the receiver may delay prior to replying. The reply data will be written into the rmsg buffer. If the rmsg data area is not large enough to accommodate the entire reply, then the result is OS-dependent. This will change in future versions of this API.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.