diff options
| author | Russ Cox <rsc@golang.org> | 2008-12-04 08:30:54 -0800 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2008-12-04 08:30:54 -0800 |
| commit | 79e1db2da13b0d9aafe39831bdb0c1b7940aab0c (patch) | |
| tree | e2b3b906ca88ce3e8ce7a528bde4a4f3e69f94c2 /src/runtime/runtime.h | |
| parent | c7bab46d0f3d4ddf13522470d49ed7d69642760c (diff) | |
| download | go-79e1db2da13b0d9aafe39831bdb0c1b7940aab0c.tar.xz | |
add stub routines stackalloc() and stackfree().
run oldstack on g0's stack, just like newstack does,
so that oldstack can free the old stack.
R=r
DELTA=53 (44 added, 0 deleted, 9 changed)
OCL=20404
CL=20433
Diffstat (limited to 'src/runtime/runtime.h')
| -rw-r--r-- | src/runtime/runtime.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h index e37786e4fb..a0cbac359d 100644 --- a/src/runtime/runtime.h +++ b/src/runtime/runtime.h @@ -277,6 +277,8 @@ G* malg(int32); void minit(void); Func* findfunc(uint64); int32 funcline(Func*, uint64); +void* stackalloc(uint32); +void stackfree(void*); /* * mutual exclusion locks. in the uncontended case, |
