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:
@ -101,6 +101,8 @@ From within the SICS main loops this special function is called:
|
||||
int DevExecTask(void *pEL);
|
||||
void DevExecSignal(void *pEL, int iSignal, void *pSigData);
|
||||
|
||||
int GetDevExecInstStatus(pExeList self);
|
||||
|
||||
@}
|
||||
CheckExeList then scan through its list of executing objects and request a
|
||||
status from each of them. The next action depend on the status returned from
|
||||
|
Reference in New Issue
Block a user