Instruction set reference
HIPE_OP_FIFO_CLOSE
Sent by the client (and relayed to the host) in a FIFO relationship to indicate that a transfer in a particular direction has been closed. The resource still exists and may be read or written to again in the future.
When the host receives this instruction, it is required to attempt to close the FIFO resource at its end, and then relay the same instruction back to the client. This serves an an acknowledgement to the client that the FIFO is now likely closed at both ends and ready to be reopened in a different mode if required.
- location: Sending a message: A value of 0 (corresponding to the body element of the client frame) means the message should be sent to the direct parent of this client. A location corresponding to a child frame means send the message to the client connected to that frame. Receiving a message: A value of 0 (corresponding to body element) means the message came from the direct parent of this frame. A location value corresponding to a child frame means the message came from that client.
- arg[0]: The FIFO resource ID string that was provided to the client when the resource was made available through a HIPE_OP_FIFO_ACCEPT message.
Notes
After receiving this instruction, the FIFO-host should close the shared resource at its end. Since the FIFO-client has already closed the resource at the other end, no response is required.
FIFO functionality in Hipe is under development and this instruction and documentation may be subject to change as we figure out the best approach.