confine pthreads to pthread.c

This commit is contained in:
rsc 2004-12-27 03:49:03 +00:00
parent e317e37406
commit 73722a8bbf
4 changed files with 39 additions and 14 deletions

View file

@ -67,7 +67,7 @@ extern Proc *xxx;
#define proc() _threadproc()
#define setproc(p) _threadsetproc(p)
extern void _procstart(Proc*, void (*fn)(void*));
extern void _procstart(Proc*, void (*fn)(Proc*));
extern _Thread *_threadcreate(Proc*, void(*fn)(void*), void*, uint);
extern void _threadexit(void);
extern Proc *_threadproc(void);