nn::boss::Task::UpdateIntervalWithSec Member Function

Syntax

nn::Result UpdateIntervalWithSec(
     u32 intervalSec
);

Arguments

Name Description
in intervalSec Specifies the execution interval. The units are seconds.

Return Values

Returns the function's execution result. Returns one of the Result values listed below.
Value Description
ResultSuccess Successfully updated the execution interval.
ResultInvalidTaskId The task ID pointer is NULL or a zero-length string.
ResultTaskNotExist The specified task ID was not found. Confirm whether it is registered yet.
ResultIpcNotSessionInitialized Either the session is not initialized or there are incompatible permissions. This Result is returned if this function is called before the Initialize or the InitializePriviledged function is called. Always call the Initialize or InitializePrivileged function first when you use the BOSS library.
A value other than the above. Unexpected error (see boss_Result.h for error details).

Description

Updates the execution interval for a task after registration. The units are seconds. This can be changed even after a task has been instructed to start executing.

Revision History

2010/09/16
Initial version.

CONFIDENTIAL