TD2 I.6 implement do_ThreadExit
This commit is contained in:
parent
6bd3e1338f
commit
f5331df75e
1 changed files with 4 additions and 0 deletions
|
@ -56,5 +56,9 @@ int do_ThreadCreate(int f, int arg){
|
||||||
}
|
}
|
||||||
|
|
||||||
void do_ThreadExit(){
|
void do_ThreadExit(){
|
||||||
|
DEBUG('x', "Enter do_ThreadExit function\n");
|
||||||
|
// TODO: what should we do with thread space?
|
||||||
|
// Probalely desallocate it...
|
||||||
|
currentThread->Finish();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue