Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptapppulsetrigger.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptapppulsetrigger.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptapppulsetrigger.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptapppulsetrigger.html on line 8
Deliver a Photon pulse to yourself
int PtAppPulseTrigger( PtAppContext_t app,
pid_t pulse );
ph
This function allows an application to deliver a Photon pulse to itself:
- In QNX Neutrino, this function uses
(pulse | _NOTIFY_COND_MASK)
to identify the pulse (and its handler), but the value of the
pulse
argument is delivered.
- In QNX 4,
the value of pulse must match the pulse
PID exactly.
The app argument is the address of the application context, a
structure that manages all the data associated with this
application.
This must be specified as NULL,
so that the default context is used.
The pulse argument is a pulse ID returned by
PtAppCreatePulse().
- 0
- Success.
- -1
- An error occurred.
Photon
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
PtAppCreatePulse(),
PtAppDeletePulse(),
PtChannelCreate(),
PtPulseArm()
MsgDeliverEvent()
in the QNX Neutrino Library Reference
Interprocess Communication
in the Photon Programmer's Guide
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptapppulsetrigger.html on line 127
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptapppulsetrigger.html on line 127