arch/net/machine-sysvshm.c File Reference

size = CmiMsgHeaderGetLength(msg); sysvshm --> sysv shared memory based network layer for communication between processes on the same node This is not going to be the primary mode of communication but only for messages below a certain size between processes on the same node for non-smp version only * More...

Go to the source code of this file.

Data Structures

struct  sharedBufHeader
 This struct is used as the first portion of a shared memory region, followed by data. More...
struct  sharedBufData
struct  SysvshmSendQ
struct  SysvshmContext

Functions

void calculateNodeSizeAndRank (char **)
void setupSharedBuffers ()
void initAllSendQs ()
void CmiInitSysvshm (char **argv)
void tearDownSharedBuffers ()
void CmiExitSysvshm ()
int CmiValidSysvshm (OutgoingMsg ogm, OtherNode node)
int SysvshmRank (int dst)
void pushSendQ (SysvshmSendQ *q, OutgoingMsg msg)
int sendMessage (OutgoingMsg ogm, sharedBufData *dstBuf, SysvshmSendQ *dstSendQ)
int flushSendQ (int dstRank)
void CmiSendMessageSysvshm (OutgoingMsg ogm, OtherNode node, int rank, unsigned int broot)
void emptyAllRecvBufs ()
void flushAllSendQs ()
void CommunicationServerSysvshm ()
static void CmiNotifyStillIdleSysvshm (CmiIdleState *s)
static void CmiNotifyBeginIdleSysvshm (CmiIdleState *s)
void createShmObjectsAndSems (sharedBufData **bufs, int *bufnames, int issend)
void initSendQ (SysvshmSendQ *q, int size)
OutgoingMsg popSendQ (SysvshmSendQ *q)
void emptyRecvBuf (sharedBufData *recvBuf)
static void handoverSysvshmMessage (char *newmsg, int total_size, int rank, int broot)

Variables

SysvshmContextsysvshmContext = NULL


Detailed Description

size = CmiMsgHeaderGetLength(msg); sysvshm --> sysv shared memory based network layer for communication between processes on the same node This is not going to be the primary mode of communication but only for messages below a certain size between processes on the same node for non-smp version only *

contains only sysvshm code for

created by Eric Shook, eshook2@uiuc.edu , June 10, 2008

Definition in file machine-sysvshm.c.


Generated on Sun Jun 29 13:29:32 2008 for Charm++ by  doxygen 1.5.1