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:
5
task.h
5
task.h
@@ -197,7 +197,10 @@ const char *GetTaskName(pTaskHead it);
|
||||
/*
|
||||
get the name of the current task. Do not delete the returned pointer.
|
||||
*/
|
||||
|
||||
const void *GetTaskData(pTaskHead it);
|
||||
/*
|
||||
Get the user data for the current task. Do not free the returned pointer!
|
||||
*/
|
||||
/*=============================================================================
|
||||
Task Groups. The implementation has the limit that any given task can
|
||||
only be member of one task group
|
||||
|
||||
Reference in New Issue
Block a user