nn::boss::Task::UpdateIntervalWithSec Member Functionnn::Result UpdateIntervalWithSec( u32 intervalSec );
| Name | Description | |
|---|---|---|
| in | intervalSec | Specifies the execution interval. The units are seconds. |
Result values listed below. | Value | Description |
|---|---|
Result::IsSuccess |
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 |
The session has not been initialized. This result is returned if this function is called before the Initialize function. Always call the Initialize function first thing when you use the BOSS library. |
| A value other than the above. | Unexpected error (see boss_Result.h for error details). |
[This is exclusively for debugging. Normal execution intervals are only approved if they are measured in hours. Use the UpdateInterval function when you are not debugging. ] 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.
CONFIDENTIAL