From e97ceade5e1bba5787e39429384336fa37797906 Mon Sep 17 00:00:00 2001 From: rsc Date: Sat, 6 Dec 2003 18:05:27 +0000 Subject: various tweaks. --- src/libthread/threadimpl.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/libthread/threadimpl.h') 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; -- cgit v1.2.3