/* ------------------------------------------------------------------------------------ */ void *doAll(void *ptr) { if (ptr) { if (recvr) GASNET_BLOCKUNTIL(done); } else { doAMShort(); doAMMed(); doAMLong(); if (recvr) gex_AM_RequestShort0(myteam, mynode, hidx_done_shorthandler, 0); } return NULL; }
/* ------------------------------------------------------------------------------------ */ void *doAll(void *ptr) { if (ptr) { if (recvr) GASNET_BLOCKUNTIL(done); } else { doAMShort(); doAMMed(); doAMLong(); doAMLongAsync(); if (recvr) GASNET_Safe(gasnet_AMRequestShort0(mynode, hidx_done_shorthandler)); } return NULL; }