InitializeWithSecInterval

nn::boss::TaskPolicy::InitializeWithSecInterval Member Function

Syntax

nn::Result InitializeWithSecInterval(
     u32 intervalSec,
     u32 count
);

Parameters

Name Description
in intervalSec Specifies the execution interval for a task. The units are seconds.
in count Specifies the execution count for a task.

Return Values

Returns the function's execution result. Returns one of the Result values listed below.

Value Description
Result::IsSuccess Initialization successful.
A value other than the above. Unexpected error (see boss_Result.h for error details).

Description

(This is exclusively for debugging. Regular execution intervals are only approved if they are measured in hours. Use the Initialize function when you are not debugging.) Configures policy settings. Specify the execution interval in seconds.

(Values from 1 second to 168 hours are valid.)


CONFIDENTIAL