[MOAB-dev] MOAB Concurrency

Christopher Mueller cmueller at asascience.com
Wed Feb 15 15:34:59 CST 2012


Hi All,

I'm trying to get a little clarification on exactly how concurrency works with MOAB.  When one process is reading a mesh (or more likely, data on a mesh) from a file and another process attempts to write to that file, what happens?  Does the writer get blocked until the reader is through?  Can the file be modified by the writer while a reader has an in-memory representation of the file?  Is there a mechanism for the reader to know if the underlying file has changed (is this what <https://redmine.scorec.rpi.edu/anonsvn/itaps/software/tags/1.3/tools/doxygen/html/group__MeshModification.html#ga392c572f006e88ebe62bffade3be8b9> iMesh_areEHValid<https://redmine.scorec.rpi.edu/anonsvn/itaps/software/tags/1.3/tools/doxygen/html/group__MeshModification.html> does)?

Does the same answer apply (with roles reversed) if the reader process starts after the writer process?

Are there strategies in place for dealing with these situations?

Thanks in advance,
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20120215/2a574960/attachment.htm>


More information about the moab-dev mailing list