This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Wait until a mode change has been completed
#include <sys/pmm.h> pm_power_mode_t pmm_mode_wait(pmm_node_t *node);
libc
This call is used to wait until a mode change has been completed:
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.
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |