1
1

wait for everyone to enter and send before releasing them

(since oob sends are not synchronous)

This commit was SVN r2913.
Этот коммит содержится в:
Tim Woodall 2004-10-04 15:57:28 +00:00
родитель 71671cb531
Коммит 8bde38b296

Просмотреть файл

@ -40,14 +40,14 @@ int mca_oob_barrier(void)
else {
int tag=-1;
for (i = 1; i < npeers; i++) {
rc = mca_oob_send(&peers[i],&iov,1,tag,0);
rc = mca_oob_recv(&peers[i],&iov,1,&tag,0);
if (rc < 0) {
return rc;
}
}
for (i = 1; i < npeers; i++) {
rc = mca_oob_recv(&peers[i],&iov,1,&tag,0);
rc = mca_oob_send(&peers[i],&iov,1,tag,0);
if (rc < 0) {
return rc;
}