PtAppCreatePulse
![]() |
![]() |
![]() |
![]() |
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
![]() |
![]() |
![]() |
![]() |
![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)