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 {
Prio7
}PrioLvl;
typedef struct taskDescriptor {
struct taskDescriptor {
int TaskID;
int ParentID;
State TaskState;
int* StackPtr;
TD* Next;
struct taskDescriptor* Next;
void* RetVal; // TODO
PrioLvl TaskPriority;
char* Stack;
TD* Parent;
struct taskDescriptor* Parent;
Request* Req;
}TD;
};
typedef struct taskDescriptor TD;
int isTaskAlive(int TaskID);
#endif
......@@ -4,10 +4,11 @@
//void TaskInit();
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