mirror of
https://github.com/golang/go
synced 2024-11-26 14:46:47 -07:00
runtime: remove unused mid function
R=golang-dev, r CC=golang-dev https://golang.org/cl/10036047
This commit is contained in:
parent
573c2fd4fe
commit
b6e52ecffa
@ -112,9 +112,6 @@ func (f *Func) FileLine(pc uintptr) (file string, line int) {
|
||||
// implemented in symtab.c
|
||||
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.
|
||||
// When the garbage collector finds an unreachable block
|
||||
// with an associated finalizer, it clears the association and runs
|
||||
|
@ -1732,14 +1732,6 @@ runtime·golockedOSThread(bool ret)
|
||||
FLUSH(&ret);
|
||||
}
|
||||
|
||||
// for testing of wire, unwire
|
||||
void
|
||||
runtime·mid(uint32 ret)
|
||||
{
|
||||
ret = m->id;
|
||||
FLUSH(&ret);
|
||||
}
|
||||
|
||||
void
|
||||
runtime·NumGoroutine(intgo ret)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user