aboutsummaryrefslogtreecommitdiff
path: root/include/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/thread.h')
-rw-r--r--include/thread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/thread.h b/include/thread.h
index 8dbabe61..c8f00340 100644
--- a/include/thread.h
+++ b/include/thread.h
@@ -13,11 +13,13 @@ void threadexits(char *);
void threadexitsall(char *);
void threadsetname(char*, ...);
void threadsetstate(char*, ...);
+void threadyield(void);
void _threadready(_Thread*);
void _threadswitch(void);
void _threadsetsysproc(void);
void _threadsleep(Rendez*);
_Thread *_threadwakeup(Rendez*);
+#define yield threadyield
/*
* per proc and thread data