Skip to content
Snippets Groups Projects
Commit 0572c9f4 authored by antnh6@gmail.com's avatar antnh6@gmail.com
Browse files

fixed task-descriptor.h typedef

parent 4d99f183
No related branches found
No related tags found
1 merge request!16Withtime
...@@ -20,20 +20,23 @@ typedef enum prioritylvl { ...@@ -20,20 +20,23 @@ typedef enum prioritylvl {
Prio7 Prio7
}PrioLvl; }PrioLvl;
typedef struct taskDescriptor { struct taskDescriptor {
int TaskID; int TaskID;
int ParentID; int ParentID;
State TaskState; State TaskState;
int* StackPtr; int* StackPtr;
TD* Next; struct taskDescriptor* Next;
void* RetVal; // TODO void* RetVal; // TODO
PrioLvl TaskPriority; PrioLvl TaskPriority;
char* Stack; char* Stack;
TD* Parent; struct taskDescriptor* Parent;
Request* Req; Request* Req;
}TD; };
typedef struct taskDescriptor TD;
int isTaskAlive(int TaskID); int isTaskAlive(int TaskID);
#endif #endif
...@@ -4,10 +4,11 @@ ...@@ -4,10 +4,11 @@
//void TaskInit(); //void TaskInit();
int isTaskAlive(int TaskID) { int isTaskAlive(int TaskID) {
return return 0;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment