sysmgr_runstate_burst()

QNX SDP8.0C Library ReferenceAPIDeveloper

Ask the system to turn on dynamically offlined CPUs

Synopsis:

#include <sys/sysmgr.h>

int sysmgr_runstate_burst( const unsigned ms_length );

Arguments:

ms_length
The length of time, in milliseconds, that the user expects the system to be busy, or 0 to cancel the burst-mode request. The time can be up to 65535 ms.
The function applies a 16-bit mask to ms_length, so even if the value is more than 65535 ms, no error occurs.

Library:

libc

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

Description:

The sysmgr_runstate_burst() function tells the kernel that the system is about to get busy, and it should be turning on CPUs much sooner than it would normally.

Note:
In this release, this function isn't supported and it simply returns ENOSYS. Your code shouldn't call it.

Returns:

This function always returns ENOSYS.

Classification:

QNX OS

Safety:
Cancellation pointNo
Signal handlerYes
ThreadYes
Page updated: