This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Trigger state machine thread to re-evaluate current state
#include <sys/pmm.h> int pmm_start_thread(void *hdl);
libc
This function is used to trigger a thread executing pmm_state_machine() to re-evaluate its current state and perform a state change if necessary:
This function normally returns EOK.
If an error occurs, it returns -1 and errno is set to one of the following:
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |