mirror of
https://github.com/golang/go
synced 2024-11-23 08:30:05 -07:00
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
This commit is contained in:
parent
a07a57b00e
commit
c7f6bd795a
@ -31,7 +31,7 @@ enum
|
|||||||
GoidCacheBatch = 16,
|
GoidCacheBatch = 16,
|
||||||
};
|
};
|
||||||
|
|
||||||
SchedType runtime·sched;
|
SchedT runtime·sched;
|
||||||
int32 runtime·gomaxprocs;
|
int32 runtime·gomaxprocs;
|
||||||
uint32 runtime·needextram;
|
uint32 runtime·needextram;
|
||||||
bool runtime·iscgo;
|
bool runtime·iscgo;
|
||||||
|
@ -60,7 +60,7 @@ typedef struct SudoG SudoG;
|
|||||||
typedef struct Mutex Mutex;
|
typedef struct Mutex Mutex;
|
||||||
typedef struct M M;
|
typedef struct M M;
|
||||||
typedef struct P P;
|
typedef struct P P;
|
||||||
typedef struct SchedType SchedType;
|
typedef struct SchedT SchedT;
|
||||||
typedef struct Note Note;
|
typedef struct Note Note;
|
||||||
typedef struct Slice Slice;
|
typedef struct Slice Slice;
|
||||||
typedef struct String String;
|
typedef struct String String;
|
||||||
@ -434,7 +434,7 @@ enum {
|
|||||||
MaxGomaxprocs = 1<<8,
|
MaxGomaxprocs = 1<<8,
|
||||||
};
|
};
|
||||||
|
|
||||||
struct SchedType
|
struct SchedT
|
||||||
{
|
{
|
||||||
Mutex lock;
|
Mutex lock;
|
||||||
|
|
||||||
@ -753,7 +753,7 @@ extern DebugVars runtime·debug;
|
|||||||
extern uintptr runtime·maxstacksize;
|
extern uintptr runtime·maxstacksize;
|
||||||
extern Note runtime·signote;
|
extern Note runtime·signote;
|
||||||
extern ForceGCState runtime·forcegc;
|
extern ForceGCState runtime·forcegc;
|
||||||
extern SchedType runtime·sched;
|
extern SchedT runtime·sched;
|
||||||
extern int32 runtime·newprocs;
|
extern int32 runtime·newprocs;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user