Commit 2aea4a06 authored by Russ Cox's avatar Russ Cox

recycle G structs

R=r
DELTA=1  (1 added, 0 deleted, 0 changed)
OCL=33887
CL=33904
parent 8ce468ea
......@@ -433,6 +433,7 @@ scheduler(void)
gp->lockedm = nil;
m->lockedg = nil;
}
gfput(gp);
if(--sched.gcount == 0)
exit(0);
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment