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
fee7c69c
Commit
fee7c69c
authored
Aug 27, 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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/cmd/api/goapi.go
src/cmd/api/goapi.go
+1
-1
src/pkg/runtime/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