This is the first version of the newly refactored status code handling.
Status codes are now determined by a special task which inspects SICS for what is going on. Before this was a global variable which caused conflicts when multiple instances in the code tried to set it.
This commit is contained in:
@ -965,3 +965,12 @@ void SetDevexecStatus(pExeList pExe, int code)
|
||||
pExe->iStatus = code;
|
||||
}
|
||||
}
|
||||
/*------------------------------------------------------------------------*/
|
||||
int GetDevExecInstStatus(pExeList self)
|
||||
{
|
||||
if(self->lTask < 0){
|
||||
return eEager;
|
||||
} else {
|
||||
return self->instStatus;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user