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
fee7c69c
Commit
fee7c69c
authored
Aug 28, 2014
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd/api: fix for Lock⇒Mutex change
TBR=iant CC=golang-codereviews
https://golang.org/cl/133150043
parent
8ecb9a76
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
goapi.go
src/cmd/api/goapi.go
+1
-1
syscall_windows.go
src/pkg/runtime/syscall_windows.go
+1
-1
No files found.
src/cmd/api/goapi.go
View file @
fee7c69c
...
...
@@ -380,7 +380,7 @@ func (w *Walker) parseFile(dir, file string) (*ast.File, error) {
// Just enough to keep the api checker happy.
src
:=
"package runtime; type ("
+
" maptype struct{}; _type struct{}; alg struct{};"
+
" mspan struct{}; m struct{};
lock
struct{}; slicetype struct{};"
+
" mspan struct{}; m struct{};
mutex
struct{}; slicetype struct{};"
+
" iface struct{}; eface struct{}; interfacetype struct{}; itab struct{};"
+
" mcache struct{}; bucket struct{}; sudog struct{}; g struct{};"
+
" hchan struct{}; chantype struct{}; waitq struct{};"
+
...
...
src/pkg/runtime/syscall_windows.go
View file @
fee7c69c
...
...
@@ -9,7 +9,7 @@ import (
)
type
callbacks
struct
{
lock
lock
mutex
ctxt
[
cb_max
]
*
wincallbackcontext
n
int
}
...
...
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