TD2 I.6 implement do_ThreadExit

This commit is contained in:
Yorick Barbanneau 2021-11-15 00:51:02 +01:00
parent 6bd3e1338f
commit f5331df75e

View file

@ -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