Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(72)

Unified Diff: src/pkg/runtime/cgocall.c

Issue 6939064: code review 6939064: runtime: use "mp" and "gp" instead of "m" and "g" for l... (Closed)
Patch Set: diff -r 3684de5292bf https://code.google.com/p/go Created 12 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/pkg/runtime/malloc.goc » ('j') | src/pkg/runtime/thread_darwin.c » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pkg/runtime/cgocall.c
===================================================================
--- a/src/pkg/runtime/cgocall.c
+++ b/src/pkg/runtime/cgocall.c
@@ -181,11 +181,11 @@
void
runtime·NumCgoCall(int64 ret)
{
- M *m;
+ M *mp;
ret = 0;
- for(m=runtime·atomicloadp(&runtime·allm); m; m=m->alllink)
- ret += m->ncgocall;
+ for(mp=runtime·atomicloadp(&runtime·allm); mp; mp=mp->alllink)
+ ret += mp->ncgocall;
FLUSH(&ret);
}
« no previous file with comments | « no previous file | src/pkg/runtime/malloc.goc » ('j') | src/pkg/runtime/thread_darwin.c » ('J')

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b