Function safety

Updated: April 19, 2023

Function safety refers to whether it's safe to use the AOI library API functions in certain situations.

All API functions are thread-safe and behave as documented even in a multithreaded environment. These functions are neither interrupt-safe nor signal-safe. Don't call them in an interrupt handler or signal handler.

Classification:

QNX Neutrino

Safety  
Cancellation point Read the Caveats
Interrupt handler No
Signal handler No
Thread Yes

Caveats:

It's possible to cancel any AOI library function call if it involves sending a message (MsgSend*()) between the application and the QNX Neutrino kernel. However, whether a message is sent varies not only from function to function but also for the same function, depending on the circumstances when it's called.