diff options
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. |