[Previous] [Contents] [Next]

Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

pmm_state_trigger()

Trigger state machine thread to re-evaluate current state

Synopsis:

#include <sys/pmm.h>

int pmm_start_thread(void *hdl);

Library:

libc

Description:

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:

hdl
Handle to the state machine, returned by pmm_state_init().

This function normally returns EOK.

If an error occurs, it returns -1 and errno is set to one of the following:

Returns:

Classification:

QNX Neutrino

Safety:
Cancellation point Yes
Interrupt handler No
Signal handler Yes
Thread Yes

See also:


[Previous] [Contents] [Next]