Deliver a pulse to yourself
int PtAppPulseTrigger( PtAppContext_t app, pid_t pulse );
This function allows an application to deliver a pulse to itself:
The app argument is the address of the application context, a structure that manages all the data associated with this application. For Photon 1.1x, this must be specified as NULL, so that the default context is used. The pulse argument is a pulse ID returned by PtAppCreatePulse().
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtAppCreatePulse(), PtAppDeletePulse(), PtChannelCreate(), PtPulseArmFd(), PtPulseArmPid(), PtPulseDeliver(), PtPulseDisarm()
Interprocess Communication and Lengthy Operations in the Photon Programmer's Guide