Command disabled: backlink
 
Available Languages?:

OSA : OS_IsError

bool OS_IsError ()

Check if error in OS_Task_Create.

Call allowed:

Everywhere

Parameters:

None

Returns:

false Task was created successfully
true There was no free task descriptor to create task.

Example:

void Task (void)
{
    for (;;) {
        /*...*/
        OS_IsError ();
        /*...*/
    }
}

See also

 
en/osa/ref/allservices/os_iserror.txt · Last modified: 07.10.2010 13:56 (external edit)
 
Creative Commons License Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki