Stack recycling is added to the thread library.

Still, it does not support thread trees which have more than one level depth.
This commit is contained in:
Bora Sahin
2009-11-10 21:48:48 +02:00
parent a23b7fcbc2
commit 3149356ffc
9 changed files with 93 additions and 36 deletions

View File

@@ -19,6 +19,7 @@ struct l4t_tcb {
int tid;
struct utcb_head *utcb_head;
unsigned long utcb_addr;
unsigned long stack_addr;
};
/* This struct keeps track of all the threads handled by the thread lib. */