Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
b6e52ecf
Commit
b6e52ecf
authored
Jun 06, 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
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
11 deletions
+0
-11
src/pkg/runtime/extern.go
src/pkg/runtime/extern.go
+0
-3
src/pkg/runtime/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