PIP Module
2-270
notifyWriter function should not directly call any of the PIP module
functions for the same pipe.
Tconf Name: notifyWriterFxn
Type: Extern
Example:
myPip.notifyWriterFxn =
prog.extern("writerFxn");
❏
nwarg0, nwarg1
. Two Arg type arguments for the notifyWriter
function.
Tconf Name: notifyWriterArg0
Type: Arg
Tconf Name: notifyWriterArg1
Type: Arg
Example:
myPip.notifyWriterArg0 = 0;
❏
notifyReader
. The function to execute when a frame of data is
available. This function should notify (for example, by calling
SWI_andnHook) the object that reads from this pipe that a full frame
is ready to be processed.
The notifyReader function is performed as part of the thread that
called PIP_put or PIP_get. To avoid problems with recursion, the
notifyReader function should not directly call any of the PIP module
functions for the same pipe.
Tconf Name: notifyReaderFxn
Type: Extern
Example:
myPip.notifyReaderFxn =
prog.extern("readerFxn");
❏
nrarg0, nrarg1
. Two Arg type arguments for the notifyReader
function.
Tconf Name: notifyReaderArg0
Type: Arg
Tconf Name: notifyReaderArg1
Type: Arg
Example:
myPip.notifyReaderArg0 = 0;