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/ptappcreatepulse.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/ptappcreatepulse.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/ptappcreatepulse.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/ptappcreatepulse.html on line 8

PtAppCreatePulse()

Create a Photon pulse

Synopsis:

pid_t PtAppCreatePulse( PtAppContext_t app, 
                        int priority );

Arguments:

app
The address of the application context, a structure that manages all the data associated with this application. Specify this as NULL, so as to use the default context.
priority
The priority of the pulse. If priority is -1, the pulse's priority is the same as that of the calling process.

Library:

ph

Description:

This function creates a Photon pulse. Under QNX Neutrino, PtAppCreatePulse() creates a Neutrino pulse.

Returns:

A pulse PID (a negative value that's guaranteed never to be -1), or 0 if an error occurred.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtAppDeletePulse(), PtAppPulseTrigger(), 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/ptappcreatepulse.html on line 117

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/ptappcreatepulse.html on line 117