From 340d157c401c78d26b4b1405b9bb50449facac85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sigrid=20Solveig=20Hafl=C3=ADnud=C3=B3ttir?= Date: Sun, 20 Jun 2021 14:54:20 +0000 Subject: threadimpl: remove unused fields from Proc struct --- sys/src/libthread/threadimpl.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'sys/src/libthread') diff --git a/sys/src/libthread/threadimpl.h b/sys/src/libthread/threadimpl.h index e3fe6e15f..4fb63317a 100644 --- a/sys/src/libthread/threadimpl.h +++ b/sys/src/libthread/threadimpl.h @@ -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() */ }; -- cgit v1.2.3