PPL Logo

conv-core/global-macho.C File Reference

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


Function Documentation

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

CtgGlobals CtgCurrentGlobals ( void   ) 

Return the current global list.

Definition at line 205 of file global-macho.C.


Variable Documentation

long magic_num_machoassert = 0x0123456

Definition at line 43 of file global-macho.C.

Definition at line 49 of file global-macho.C.


Generated on Mon Sep 21 08:01:40 2020 for Charm++ by  doxygen 1.5.5