[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_mode_wait()

Wait until a mode change has been completed

Synopsis:

#include <sys/pmm.h>

pm_power_mode_t pmm_mode_wait(pmm_node_t *node);

Library:

libc

Description:

This call is used to wait until a mode change has been completed:

node
Pointer to the node.

If no mode change is in progress, this call returns immediately. Otherwise, it blocks until either:

On return, this function call returns the current power mode of the node.

Returns:

Classification:

QNX Neutrino

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

See also:


[Previous] [Contents] [Next]