ref: 340d157c401c78d26b4b1405b9bb50449facac85
parent: 57d95c73256176bfd5cd3ef003c062697435f9c2
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Sun Jun 20 10:54:20 EDT 2021
threadimpl: remove unused fields from Proc struct
--- a/sys/src/libthread/threadimpl.h
+++ b/sys/src/libthread/threadimpl.h
@@ -120,15 +120,8 @@
Tqueue ready; /* Runnable threads */
Lock readylock;
- char printbuf[Printsize];
- int blocked; /* In a rendezvous */
int pending; /* delayed note pending */
- int nonotes; /* delay notes */
- uint nextID; /* ID of most recently created thread */
Proc *next; /* linked list of Procs */
-
- void *arg; /* passed between shared and unshared stk */
- char str[ERRMAX]; /* used by threadexits to avoid malloc */
void* udata; /* User per-proc data pointer */
char threadint; /* tag for threadexitsall() */