commit | 3fd66761f7d3b1b93e9d2f819b7edbdb13152c75 | [log] [tgz] |
---|---|---|
author | rsc <devnull@localhost> | Sun Feb 12 16:48:11 2006 +0000 |
committer | rsc <devnull@localhost> | Sun Feb 12 16:48:11 2006 +0000 |
tree | 9c1c9ba35076e719f9199553f28def4d8daf324c | |
parent | 7722ad0044128996c43af1e5bfe34e6fc7924007 [diff] |
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