From 3fd66761f7d3b1b93e9d2f819b7edbdb13152c75 Mon Sep 17 00:00:00 2001 From: rsc Date: Sun, 12 Feb 2006 16:48:11 +0000 Subject: add procwait --- include/thread.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/thread.h') diff --git a/include/thread.h b/include/thread.h index 94c99a25..353d35d3 100644 --- a/include/thread.h +++ b/include/thread.h @@ -178,6 +178,11 @@ int threadspawn(int[3], char*, char*[]); int threadspawnl(int[3], char*, ...); Channel* threadwaitchan(void); +/* + * alternate interface to threadwaitchan - don't use both! + */ +Waitmsg* procwait(int pid); + #if defined(__cplusplus) } #endif -- cgit v1.2.3