diff options
| author | rsc <devnull@localhost> | 2005-03-18 18:56:17 +0000 |
|---|---|---|
| committer | rsc <devnull@localhost> | 2005-03-18 18:56:17 +0000 |
| commit | 8dd8a81f71771d3f2d95a95992fdddebd3063919 (patch) | |
| tree | 042105b53434731bac3242416c6317fa6b01ff36 /src/libthread/thread.c | |
| parent | 670dd11a8a0c97345919b28502c950d3a3ef776c (diff) | |
add threaddata
Diffstat (limited to 'src/libthread/thread.c')
| -rw-r--r-- | src/libthread/thread.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libthread/thread.c b/src/libthread/thread.c index 61d1aa2a..455d8da0 100644 --- a/src/libthread/thread.c +++ b/src/libthread/thread.c @@ -327,6 +327,12 @@ procdata(void) return &proc()->udata; } +void** +threaddata(void) +{ + return &proc()->thread->udata; +} + extern Jmp *(*_notejmpbuf)(void); static Jmp* threadnotejmp(void) |