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

Start a thread pool to handle client requests

Synopsis:

#include <sys/pmm.h>

int pmm_start(thread_pool_attr_t *tatttr);

Library:

libc

Description:

This starts a thread pool to begin servicing client requests, and is the last action the product specific initialisation code performs:

attr
Pointer to the power manager server attributes.
tattr
Specifies the attributes of the thread pool used to service client requests.

If tattr is NULL, the thread pool is created with internal defaults.

The return value from this function depends on the thread pool flags:

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

Returns:

Classification:

QNX Neutrino

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

See also:


[Previous] [Contents] [Next]