NachOS/code/userprog/userthread.h
Yorick Barbanneau 3877e32b59 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)
2021-11-19 14:16:36 +01:00

14 lines
218 B
C

#ifdef CHANGED
#include "copyright.h"
#include "utility.h"
typedef struct {
int f;
int arg;
int stackAddr;
} ThreadArgs_t;
extern int do_ThreadCreate(int f, int arg);
extern void do_ThreadExit();
#endif