aboutsummaryrefslogtreecommitdiff
path: root/src/libthread/threadimpl.h
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2003-12-06 18:05:27 +0000
committerrsc <devnull@localhost>2003-12-06 18:05:27 +0000
commite97ceade5e1bba5787e39429384336fa37797906 (patch)
tree1353f5aa99b04e9c030ecc89cd7b526cb814090d /src/libthread/threadimpl.h
parentc715a6127a46b8090591972b5c4bb04dfabbca8b (diff)
downloadplan9port-e97ceade5e1bba5787e39429384336fa37797906.tar.gz
plan9port-e97ceade5e1bba5787e39429384336fa37797906.tar.bz2
plan9port-e97ceade5e1bba5787e39429384336fa37797906.zip
various tweaks.
Diffstat (limited to 'src/libthread/threadimpl.h')
-rw-r--r--src/libthread/threadimpl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libthread/threadimpl.h b/src/libthread/threadimpl.h
index d9b22403..aa69845c 100644
--- a/src/libthread/threadimpl.h
+++ b/src/libthread/threadimpl.h
@@ -115,6 +115,7 @@ struct Proc
int pid; /* process id */
int splhi; /* delay notes */
Thread *thread; /* running thread */
+ Thread *idle; /* idle thread */
int needexec;
Execargs exec; /* exec argument */
@@ -185,6 +186,7 @@ void _threadinitstack(Thread*, void(*)(void*), void*);
void* _threadmalloc(long, int);
void _threadnote(void*, char*);
void _threadready(Thread*);
+void _threadidle(void);
ulong _threadrendezvous(ulong, ulong);
void _threadsignal(void);
void _threadsysfatal(char*, va_list);
@@ -192,6 +194,7 @@ long _xdec(long*);
void _xinc(long*);
void _threadremove(Proc*, Thread*);
+extern int _threadmultiproc;
extern int _threaddebuglevel;
extern char* _threadexitsallstatus;
extern Pqueue _threadpq;