diff options
| author | Russ Cox <rsc@swtch.com> | 2020-01-13 23:26:26 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@swtch.com> | 2020-01-13 23:26:42 -0500 |
| commit | 481b596d9389076d686832e0a3c26fc7b550c532 (patch) | |
| tree | 6605f94713a67aeecc8c06d2903a91efc27a86ca /src/libthread/threadimpl.h | |
| parent | 573169dd88ac5ca0cf75d09464dddba398e83011 (diff) | |
libthread: fix fault in teardown of proc
Fixes #332.
Diffstat (limited to 'src/libthread/threadimpl.h')
| -rw-r--r-- | src/libthread/threadimpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libthread/threadimpl.h b/src/libthread/threadimpl.h index 437503c6..76ca57e5 100644 --- a/src/libthread/threadimpl.h +++ b/src/libthread/threadimpl.h @@ -197,7 +197,7 @@ extern Channel *_dowaitchan; extern void _procstart(Proc*, void (*fn)(Proc*)); extern _Thread *_threadcreate(Proc*, void(*fn)(void*), void*, uint); -extern void _threadexit(void); +extern void _procexit(void); extern Proc *_threadproc(void); extern void _threadsetproc(Proc*); extern int _threadlock(Lock*, int, ulong); |