diff options
author | rsc <devnull@localhost> | 2006-06-26 05:47:59 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-06-26 05:47:59 +0000 |
commit | df970459f9b37386fbfd4b7f3646825c8029caa8 (patch) | |
tree | 80d24bf50aed788e382e876177e0fb30006148bc /include | |
parent | f936548b5e1dc6cff6e422867a4265c64ebbcfd1 (diff) | |
download | plan9port-df970459f9b37386fbfd4b7f3646825c8029caa8.tar.gz plan9port-df970459f9b37386fbfd4b7f3646825c8029caa8.tar.bz2 plan9port-df970459f9b37386fbfd4b7f3646825c8029caa8.zip |
pin
Diffstat (limited to 'include')
-rw-r--r-- | include/libc.h | 3 | ||||
-rw-r--r-- | include/thread.h | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/libc.h b/include/libc.h index 96b3f0c2..6a04b7b0 100644 --- a/include/libc.h +++ b/include/libc.h @@ -417,6 +417,9 @@ extern long p9time(long*); extern void needstack(int); extern char* readcons(char*, char*, int); +extern void (*_pin)(void); +extern void (*_unpin)(void); + #ifndef NOPLAN9DEFINES #define atexit p9atexit #define atexitdont p9atexitdont diff --git a/include/thread.h b/include/thread.h index 2a84e619..2301191d 100644 --- a/include/thread.h +++ b/include/thread.h @@ -25,6 +25,8 @@ void _threadsleep(Rendez*); _Thread *_threadwakeup(Rendez*); #define yield threadyield int threadid(void); +void _threadpin(void); +void _threadunpin(void); /* * I am tired of making this mistake. |