add threaddata
This commit is contained in:
parent
670dd11a8a
commit
8dd8a81f71
@ -327,6 +327,12 @@ procdata(void)
|
||||
return &proc()->udata;
|
||||
}
|
||||
|
||||
void**
|
||||
threaddata(void)
|
||||
{
|
||||
return &proc()->thread->udata;
|
||||
}
|
||||
|
||||
extern Jmp *(*_notejmpbuf)(void);
|
||||
static Jmp*
|
||||
threadnotejmp(void)
|
||||
|
||||
@ -70,6 +70,7 @@ struct _Thread
|
||||
Proc *proc;
|
||||
char name[256];
|
||||
char state[256];
|
||||
void *udata;
|
||||
};
|
||||
|
||||
struct _Procrendez
|
||||
|
||||
Loading…
Reference in New Issue
Block a user