threadimpl: remove unused fields from Proc struct

This commit is contained in:
Sigrid Solveig Haflínudóttir 2021-06-20 14:54:20 +00:00
parent 57d95c7325
commit 340d157c40

View file

@ -120,16 +120,9 @@ struct Proc
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() */
};