mirror of
https://github.com/golang/go
synced 2024-11-23 00:50:05 -07:00
go/acid/go
R=r DELTA=99 (95 added, 1 deleted, 3 changed) OCL=15983 CL=15992
This commit is contained in:
parent
133c68e9ac
commit
72154b042f
@ -59,5 +59,5 @@ sys_file.$O: sys_file.c sys_types.h $(OS_H)
|
||||
%.$O: %.s
|
||||
$(AS) $<
|
||||
|
||||
runtime.acid: runtime.h
|
||||
$(CC) -a runtime.h >runtime.acid
|
||||
runtime.acid: runtime.h proc.c
|
||||
$(CC) -a proc.c >runtime.acid
|
||||
|
@ -346,7 +346,7 @@ nextgandunlock(void)
|
||||
|
||||
mput(m);
|
||||
if(sched.mcount == sched.mwait)
|
||||
prints("warning: all goroutines are asleep - deadlock!\n");
|
||||
throw("all goroutines are asleep - deadlock!");
|
||||
m->nextg = nil;
|
||||
noteclear(&m->havenextg);
|
||||
unlock(&sched);
|
||||
|
@ -186,7 +186,6 @@ struct SigTab
|
||||
*/
|
||||
extern Alg algarray[3];
|
||||
extern string emptystring;
|
||||
M* allm;
|
||||
G* allg;
|
||||
int32 goidgen;
|
||||
extern int32 gomaxprocs;
|
||||
|
Loading…
Reference in New Issue
Block a user