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 | PxshmSendQ |
| struct | PxshmContext |
Enumerations | |
| enum | entities { SENDER, RECEIVER } |
Functions | |
| void | calculateNodeSizeAndRank (char **) |
| void | setupSharedBuffers () |
| void | initAllSendQs () |
| void | CmiInitPxshm (char **argv) |
| void | tearDownSharedBuffers () |
| void | CmiExitPxshm () |
| int | CmiValidPxshm (OutgoingMsg ogm, OtherNode node) |
| int | PxshmRank (int dst) |
| void | pushSendQ (PxshmSendQ *q, OutgoingMsg msg) |
| int | sendMessage (OutgoingMsg ogm, sharedBufData *dstBuf, PxshmSendQ *dstSendQ) |
| int | flushSendQ (int dstRank) |
| void | CmiSendMessagePxshm (OutgoingMsg ogm, OtherNode node, int rank, unsigned int broot) |
Variables | |
| PxshmContext * | pxshmContext = NULL |
contains only pxshm code for
There are three options here for synchronization: PXSHM_FENCE is the default. It uses memory fences PXSHM_OSSPINLOCK will cause OSSpinLock's to be used (available on OSX) PXSHM_LOCK will cause POSIX semaphores to be used
created by Sayantan Chakravorty, sayantan@gmail.com ,21st March 2007
Definition in file machine-pxshm.c.
1.5.1