aboutsummaryrefslogtreecommitdiff
path: root/include/thread.h
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-02-12 16:48:11 +0000
committerrsc <devnull@localhost>2006-02-12 16:48:11 +0000
commit3fd66761f7d3b1b93e9d2f819b7edbdb13152c75 (patch)
tree9c1c9ba35076e719f9199553f28def4d8daf324c /include/thread.h
parent7722ad0044128996c43af1e5bfe34e6fc7924007 (diff)
downloadplan9port-3fd66761f7d3b1b93e9d2f819b7edbdb13152c75.tar.gz
plan9port-3fd66761f7d3b1b93e9d2f819b7edbdb13152c75.tar.bz2
plan9port-3fd66761f7d3b1b93e9d2f819b7edbdb13152c75.zip
add procwait
Diffstat (limited to 'include/thread.h')
-rw-r--r--include/thread.h5
1 files changed, 5 insertions, 0 deletions
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