Something like this, you mean...?
MPI_WIN_BARRIER(win)
MPI_PUT(win)
foo(win)
MPI_WIN_BARRIER(win)
where:
foo(MPI_Win win)
{
MPI_WIN_LOCK(win)
MPI_GET(win)
MPI_WIN_UNLOCK(win)
}
I have no idea. It's probably highly undefined. We might need/want to add text
that explicitly forbids certain dangerous combinations if such text isn't there
already (it's been a while since I've thought about this stuff).
-- Eric Salo Silicon Graphics Inc. "Do you know what the (415)933-2998 2011 N. Shoreline Blvd, 8U-802 last Xon said, just salo@sgi.com Mountain View, CA 94043-1389 before he died?"