TD2 II.4 Call exit if there is no space avaible on Stack
Put Thread in sleep mode was a bad idea beause of synch (barrier for example)
This commit is contained in:
parent
4da093ca38
commit
3877e32b59
3 changed files with 22 additions and 10 deletions
|
@ -6,6 +6,7 @@
|
|||
typedef struct {
|
||||
int f;
|
||||
int arg;
|
||||
int stackAddr;
|
||||
} ThreadArgs_t;
|
||||
|
||||
extern int do_ThreadCreate(int f, int arg);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue