add procwait
diff --git a/include/thread.h b/include/thread.h
index 94c99a2..353d35d 100644
--- a/include/thread.h
+++ b/include/thread.h
@@ -178,6 +178,11 @@
 int		threadspawnl(int[3], char*, ...);
 Channel*	threadwaitchan(void);
 
+/*
+ * alternate interface to threadwaitchan - don't use both! 
+ */
+Waitmsg*	procwait(int pid);
+
 #if defined(__cplusplus)
 }
 #endif