sysmgr_runstate(), sysmgr_runstate_dynamic()

QNX SDP8.0C Library ReferenceAPIDeveloper

Change the runstate of a processor

Synopsis:

#include <sys/sysmgr.h>

int sysmgr_runstate( unsigned cpu,
                     int enable );

int sysmgr_runstate_dynamic( unsigned cpu,
                             int enable );

Arguments:

cpu
The index of the CPU whose state you want to change.
enable
Zero to offline the processor; non-zero to bring it back online. For more details, see below.

Library:

libc

Use the -l c option to qcc to link against this library. This library is usually included automatically.

Description:

The sysmgr_runstate() and sysmgr_runstate_dynamic() functions offline or online the specified CPU.

Note:
In this release, these functions aren't supported and they simply return ENOSYS. Your code shouldn't call them.

Returns:

These functions always return ENOSYS.

Classification:

QNX OS

Safety:
Cancellation pointNo
Signal handlerYes
ThreadYes
Page updated: