nn::boss::TaskPolicy::SetPriority Member Function

Syntax

nn::Result SetPriority(
TaskPriority priority
);

Arguments

Name Description
in priority Specifies a task's execution priority.

Return Values

Returns the function's execution result. Returns one of the Result values listed below.
Value Description
ResultSuccess Set successfully.
A value other than the above. Unexpected error (see boss_Result.h for details).

Description

Sets a task's execution priority. See TaskPriority for details on priority types. Applications use the default value (PRIORITY_MEDIUM), and there is generally no need to change this. You must change this to PRIORITY_STOPPED for tasks you want to run on a specific AP. A task's execution priority is adjusted by the scheduler according to circumstances and settings sent from the server.

Revision History

2010/09/16
Initial version.

CONFIDENTIAL