aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime.h
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-09-18 23:51:22 -0400
committerRuss Cox <rsc@golang.org>2014-09-18 23:51:22 -0400
commitc7f6bd795acf002d60f712f0f4e2701051e74e4a (patch)
tree277f6f1b6f9de1fbb14870637ff7c088ba4877bb /src/runtime/runtime.h
parenta07a57b00ec9fdd8f6b02360d39454859709d08a (diff)
downloadgo-c7f6bd795acf002d60f712f0f4e2701051e74e4a.tar.xz
runtime: rename SchedType to SchedT
CL 144940043 renamed it from Sched to SchedType to avoid a lowercasing conflict in the Go code with the variable named sched. We've been using just T resolve those conflicts, not Type. The FooType pattern is already taken for the kind-specific variants of the runtime Type structure: ChanType, MapType, and so on. SchedType isn't a Type. LGTM=bradfitz, khr R=khr, bradfitz CC=golang-codereviews https://golang.org/cl/145180043
Diffstat (limited to 'src/runtime/runtime.h')
-rw-r--r--src/runtime/runtime.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h
index 386b09b96b..7fefbc2997 100644
--- a/src/runtime/runtime.h
+++ b/src/runtime/runtime.h
@@ -60,7 +60,7 @@ typedef struct SudoG SudoG;
typedef struct Mutex Mutex;
typedef struct M M;
typedef struct P P;
-typedef struct SchedType SchedType;
+typedef struct SchedT SchedT;
typedef struct Note Note;
typedef struct Slice Slice;
typedef struct String String;
@@ -434,7 +434,7 @@ enum {
MaxGomaxprocs = 1<<8,
};
-struct SchedType
+struct SchedT
{
Mutex lock;
@@ -753,7 +753,7 @@ extern DebugVars runtime·debug;
extern uintptr runtime·maxstacksize;
extern Note runtime·signote;
extern ForceGCState runtime·forcegc;
-extern SchedType runtime·sched;
+extern SchedT runtime·sched;
extern int32 runtime·newprocs;
/*