Functions | |
| VPIStatus | vpiSubmitUserFunction (VPIStream stream, VPIUserFunction func, void *userData) |
| Pushes a command that will invoke a custom host-side function after all prior commands have been processed. More... | |
Submits a user function to be executed on the stream.
| VPIStatus vpiSubmitUserFunction | ( | VPIStream | stream, |
| VPIUserFunction | func, | ||
| void * | userData | ||
| ) |
#include <vpi/UserFunction.h>
Pushes a command that will invoke a custom host-side function after all prior commands have been processed.
The execution of commands submitted after this call is suspended until the callback is finished.
| stream | [in] a stream handle |
| func | [in] Pointer to the user function to be executed. |
| userData | [in] pointer that will be passed unchanged to the user function |