Go to the source code of this file.
Data Structures | |
struct | CtgGlobalStruct |
Functions | |
CpvStaticDeclare (CtgGlobals, _curCtg) | |
void | CtgInit (void) |
Initialize the globals support (called on each processor). | |
CtgGlobals | CtgCreate (CthThread tid) |
Copy the current globals into this new set. | |
CtgGlobals | CtgPup (pup_er pv, CtgGlobals g) |
PUP this (not currently installed) globals set. | |
void | CtgInstall (CtgGlobals g) |
Install this set of globals. | |
void | CtgFree (CtgGlobals g) |
Delete this (not currently installed) set of globals. | |
CtgGlobals | CtgCurrentGlobals (void) |
Return the current global list. | |
Variables | |
long | magic_num_machoassert = 0x0123456 |
CtgGlobals | _origCtg |
CpvStaticDeclare | ( | CtgGlobals | , | |
_curCtg | ||||
) |
void CtgInit | ( | void | ) |
Initialize the globals support (called on each processor).
Definition at line 95 of file global-macho.C.
References CtgGlobalStruct::allocate(), assert, CmiPrintf(), and CtgGlobalStruct::data_seg.
CtgGlobals CtgCreate | ( | CthThread | tid | ) |
Copy the current globals into this new set.
Definition at line 132 of file global-macho.C.
References CtgGlobalStruct::allocate(), assert, and CtgGlobalStruct::data_seg.
CtgGlobals CtgPup | ( | pup_er | pv, | |
CtgGlobals | g | |||
) |
PUP this (not currently installed) globals set.
Definition at line 146 of file global-macho.C.
References assert.
void CtgInstall | ( | CtgGlobals | g | ) |
Install this set of globals.
If g==NULL, returns to original globals.
Definition at line 160 of file global-macho.C.
References assert, CtgCurrentGlobals(), and CtgGlobalStruct::data_seg.
void CtgFree | ( | CtgGlobals | g | ) |
Delete this (not currently installed) set of globals.
Definition at line 198 of file global-macho.C.
References CmiAbort(), and CtgGlobalStruct::installed.
CtgGlobals CtgCurrentGlobals | ( | void | ) |
long magic_num_machoassert = 0x0123456 |
Definition at line 43 of file global-macho.C.
Definition at line 49 of file global-macho.C.