Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
b6e52ecf
Commit
b6e52ecf
authored
Jun 07, 2013
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
runtime: remove unused mid function
R=golang-dev, r CC=golang-dev
https://golang.org/cl/10036047
parent
573c2fd4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
11 deletions
+0
-11
extern.go
src/pkg/runtime/extern.go
+0
-3
proc.c
src/pkg/runtime/proc.c
+0
-8
No files found.
src/pkg/runtime/extern.go
View file @
b6e52ecf
...
...
@@ -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
...
...
src/pkg/runtime/proc.c
View file @
b6e52ecf
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment