parent
573169dd88
commit
481b596d93
@ -429,6 +429,7 @@ Out:
|
||||
unlock(&p->lock);
|
||||
_threadsetproc(nil);
|
||||
free(p);
|
||||
_threadpexit();
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
@ -197,7 +197,7 @@ extern Channel *_dowaitchan;
|
||||
|
||||
extern void _procstart(Proc*, void (*fn)(Proc*));
|
||||
extern _Thread *_threadcreate(Proc*, void(*fn)(void*), void*, uint);
|
||||
extern void _threadexit(void);
|
||||
extern void _procexit(void);
|
||||
extern Proc *_threadproc(void);
|
||||
extern void _threadsetproc(Proc*);
|
||||
extern int _threadlock(Lock*, int, ulong);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user