add threaddata

This commit is contained in:
rsc 2005-03-18 18:56:17 +00:00
parent 670dd11a8a
commit 8dd8a81f71
2 changed files with 7 additions and 0 deletions

View file

@ -327,6 +327,12 @@ procdata(void)
return &proc()->udata;
}
void**
threaddata(void)
{
return &proc()->thread->udata;
}
extern Jmp *(*_notejmpbuf)(void);
static Jmp*
threadnotejmp(void)