aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-04 22:07:31 +0000
committerrsc <devnull@localhost>2005-01-04 22:07:31 +0000
commit8fd256985d9c6f6b6017d0993acc3307e0f8733d (patch)
tree2c746a6a2966d783181675bd9c9021b6976000ff
parent4565fd039fea7d534710b78bdaf40029cda5da75 (diff)
downloadplan9port-8fd256985d9c6f6b6017d0993acc3307e0f8733d.tar.gz
plan9port-8fd256985d9c6f6b6017d0993acc3307e0f8733d.tar.bz2
plan9port-8fd256985d9c6f6b6017d0993acc3307e0f8733d.zip
add threadnotify
-rw-r--r--include/thread.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/thread.h b/include/thread.h
index 23c4a529..a65ebe79 100644
--- a/include/thread.h
+++ b/include/thread.h
@@ -24,6 +24,11 @@ _Thread *_threadwakeup(Rendez*);
#define yield threadyield
/*
+ * signals
+ */
+void threadnotify(int(*f)(void*,char*), int);
+
+/*
* daemonize
*
void threaddaemonize(void);