os_sanity_task_checkin

int os_sanity_task_checkin(struct os_task *t)

Used by a task to check in to the sanity task. This informs the sanity task that task is still alive and working normally.

ArgumentsDescription
tPointer to task

OS_OK: sanity check-in successful

All other error codes indicate an error.

    int rc;

    rc = os_sanity_task_checkin(&my_task); 
    assert(rc == OS_OK);