Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title Specifying the order of PhAB callbacks
Ref. No. QNX.000001282
Category(ies) Development
Issue We are using PhAB, and have several callbacks. How can we specify the order that they are executed in if they are all called at the same time?

Solution In the callback list within PhAB, list your callbacks in order of execution.  i.e. The first callback on the list will be executed first.
If you return Pt_END from one of these callbacks, the chain of execution of the callbacks will end.