Function safety

Function safety refers to whether or not it's safe to use the Dictionary Object API (libstrm library) functions in certain situations.

All API functions are thread-safe and behave as documented even in a multithreaded environment. However, these functions are neither interrupt-safe nor signal-safe. Consequently, you shouldn't call them in an interrupt handler or signal handler.

For more information on how QNX defines function safety situations outside of the POSIX context, refer to the What's in a Function Description? section in the C Library Reference.

Classification:

QNX Neutrino

Safety
Cancellation point No; read the Caveats
Interrupt handler No
Signal handler No
Thread Yes

Caveats:

None of the libstrm library functions are cancellation points. As long as you haven't enabled asynchronous cancellation, they're safe to call from a thread that can get cancelled.

Page updated: