Commit b6e52ecf authored by Ian Lance Taylor's avatar Ian Lance Taylor

runtime: remove unused mid function

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/10036047
parent 573c2fd4
...@@ -112,9 +112,6 @@ func (f *Func) FileLine(pc uintptr) (file string, line int) { ...@@ -112,9 +112,6 @@ func (f *Func) FileLine(pc uintptr) (file string, line int) {
// implemented in symtab.c // implemented in symtab.c
func funcline_go(*Func, uintptr) (string, int) func funcline_go(*Func, uintptr) (string, int)
// mid returns the current OS thread (m) id.
func mid() uint32
// SetFinalizer sets the finalizer associated with x to f. // SetFinalizer sets the finalizer associated with x to f.
// When the garbage collector finds an unreachable block // When the garbage collector finds an unreachable block
// with an associated finalizer, it clears the association and runs // with an associated finalizer, it clears the association and runs
......
...@@ -1732,14 +1732,6 @@ runtime·golockedOSThread(bool ret) ...@@ -1732,14 +1732,6 @@ runtime·golockedOSThread(bool ret)
FLUSH(&ret); FLUSH(&ret);
} }
// for testing of wire, unwire
void
runtime·mid(uint32 ret)
{
ret = m->id;
FLUSH(&ret);
}
void void
runtime·NumGoroutine(intgo ret) runtime·NumGoroutine(intgo ret)
{ {
......
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