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

void LibCkExit ()
 CpvStaticDeclare (threadCB_t *, threadCBs)
 CpvStaticDeclare (unsigned int, nextThreadCB)
static void CkCallbackSendExt (const CkCallback &cb, void *msg)
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
void(* CreateReductionTargetMsgExt )(void *, int, int, int, char **, int *)


Typedef Documentation

Definition at line 21 of file ckcallback.C.


Enumeration Type Documentation

anonymous enum

Enumerator:
dataMsgTag 

Definition at line 560 of file ckcallback.C.


Function Documentation

void LibCkExit (  ) 

Definition at line 44 of file mpi-interoperate.C.

Referenced by CkCallback::send().

Here is the caller graph for this function:

CpvStaticDeclare ( threadCB_t ,
threadCBs   
)

Referenced by ntohl().

Here is the caller graph for this function:

CpvStaticDeclare ( unsigned  int,
nextThreadCB   
)

static void CkCallbackSendExt ( const CkCallback cb,
void *  msg 
) [static]

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

Definition at line 538 of file ckcallback.C.

References cb, CcsDelayReply(), CkCcsRequestMsg::data, CkCcsRequestMsg::length, msg, CkCcsRequestMsg::reply, and CkCallback::send().

Referenced by ckcallback_group::registerCcsCallback().

Here is the call graph for this function:

Here is the caller graph for this function:

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 555 of file ckcallback.C.

References _ckcallbackgroup.

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

Here is the caller graph for this function:

void CkCallbackInit (  ) 

Definition at line 582 of file ckcallback.C.

Referenced by _initCharm().

Here is the caller graph for this function:


Variable Documentation

CProxy_ckcallback_group _ckcallbackgroup

void(* CreateReductionTargetMsgExt)(void *, int, int, int, char **, int *)


Generated on Mon Sep 21 07:57:23 2020 for Charm++ by  doxygen 1.5.5