diff options
| author | Russ Cox <rsc@swtch.com> | 2020-12-30 00:15:37 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@swtch.com> | 2020-12-30 00:15:37 -0500 |
| commit | b73633b1b4e9d3dbd680edf900b2b53befbf5a9a (patch) | |
| tree | a634abbb9181fd9137db69bb6ac630c8d61949b6 /src/libthread/threadimpl.h | |
| parent | b3a20a96eb2b91a5b0b8a8fb506e20a2fb50ebe8 (diff) | |
libthread: fix pthreadperthread bugs
Diffstat (limited to 'src/libthread/threadimpl.h')
| -rw-r--r-- | src/libthread/threadimpl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libthread/threadimpl.h b/src/libthread/threadimpl.h index 8d22a161..14646031 100644 --- a/src/libthread/threadimpl.h +++ b/src/libthread/threadimpl.h @@ -97,6 +97,7 @@ struct _Thread uchar *stk; uint stksize; int exiting; + int mainthread; Proc *proc; char name[256]; char state[256]; |