On Aug 15, 2007, at 6:53 PM, Pete Wyckoff wrote:
if (task == 0)
mkdir("foo");
MPI_Barrier();
sleep(3);
stat("foo");
if (task == 0)
rmdir("foo");
Hi Pete,
Isn't there a race condition between task 0 and the others after the
barrier? Can 0 stat the file and rmdir it before another task can stat
() it? If so, should there be a barrier after the stat() and before
the rmdir?
Scott
_______________________________________________
Pvfs2-developers mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers