git: 9front

Download patch

ref: 3d3f64e6de8cb2efeaba80c566d4669fb469165b
parent: 441071c6f0230425c07bd10f396e380afc8d184e
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() */
--