runtime: cleanup some left-overs of the C past

Change-Id: I3e280ca7d922f6ab14b2477361327ed076a95779
Reviewed-on: https://go-review.googlesource.com/3743
Reviewed-by: Keith Randall <khr@golang.org>
This commit is contained in:
Dmitry Vyukov 2015-02-03 11:20:58 +03:00
parent 5ab3823c6b
commit d2abbf3ccf
3 changed files with 21 additions and 108 deletions

View file

@ -245,18 +245,6 @@ func lockedOSThread() bool {
return gp.lockedm != nil && gp.m.lockedg != nil
}
func newP() *p {
return new(p)
}
func newM() *m {
return new(m)
}
func newG() *g {
return new(g)
}
var (
allgs []*g
allglock mutex