PPL Logo

ck-core/ckcallback.C File Reference

Go to the source code of this file.

Data Structures

class  ckcallback_main
class  ckcallback_group

Typedefs

typedef CkHashtableT
< CkHashtableAdaptorT
< unsigned int >, CkCallback * > 
threadCB_t

Enumerations

enum  { dataMsgTag = 0x7ed2beef }

Functions

 CpvStaticDeclare (threadCB_t, threadCBs)
 CpvStaticDeclare (unsigned int, nextThreadCB)
void ccsHandlerToCallback (void *cbPtr, int reqLen, const void *reqData)
void CcsRegisterHandler (const char *ccs_handlername, const CkCallback &cb)
 When a CCS request comes in from the network with this handlername, call this callback with an appropriate CkCcsRequestMsg.
void CkCallbackInit ()

Variables

CProxy_ckcallback_group _ckcallbackgroup


Typedef Documentation

Definition at line 18 of file ckcallback.C.


Enumeration Type Documentation

anonymous enum

Enumerator:
dataMsgTag 

Definition at line 388 of file ckcallback.C.


Function Documentation

CpvStaticDeclare ( threadCB_t  ,
threadCBs   
)

CpvStaticDeclare ( unsigned  int,
nextThreadCB   
)

void ccsHandlerToCallback ( void *  cbPtr,
int  reqLen,
const void *  reqData 
)

void CcsRegisterHandler ( const char *  ccs_handlername,
const CkCallback cb 
)

When a CCS request comes in from the network with this handlername, call this callback with an appropriate CkCcsRequestMsg.

You must eventually call CcsSendDelayedReply(msg->reply,...) each time this callback is activated.

Unlike the regular converse CcsRegisterHandler (in conv-ccs.h), this call need only be made once, on processor 0, and all processors will be able to respond to the CCS request.

Definition at line 384 of file ckcallback.C.

References _ckcallbackgroup.

Referenced by CcsBuiltinsInit(), CpdCharmInit(), CpdInit(), CpdPython::CpdPython(), CWebInit(), TraceSummaryBOC::initCCS(), liveViz0Init(), liveViz0PollInit(), LV3D0_Init(), manager_init(), NetFEM_Init(), and TraceUtilizationInit::TraceUtilizationInit().

void CkCallbackInit (  ) 

Definition at line 404 of file ckcallback.C.

Referenced by _initCharm().


Variable Documentation

CProxy_ckcallback_group _ckcallbackgroup


Generated on Thu May 24 07:56:00 2012 for Charm++ by  doxygen 1.5.5