Make sure the widget library is using a channel
int PtChannelCreate( void );
In QNX 4, this function simply returns 1.
In Neutrino, this function makes sure that the widget library is using a channel (rather than realtime signals) for notification. It returns the channel number (or -1 on failure).
There's no such thing as a channel in QNX 4, so this function simply returns 1.
In Neutrino, this function returns the channel number, or -1 on failure.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |