Skip to content
Snippets Groups Projects
Commit 30f2589d authored by mattijs's avatar mattijs
Browse files

BUG: codeStream.C: commented out code for master-only checking since would not work for fields

parent 9e4aecd6
No related branches found
No related tags found
No related merge requests found
......@@ -197,22 +197,25 @@ Foam::functionEntries::codeStream::getFunction
}
}
// all processes must wait for compile to finish - except if this
// file is only read on the master
bool masterOnly =
(
regIOobject::fileModificationChecking
== regIOobject::timeStampMaster
)
|| (
regIOobject::fileModificationChecking
== regIOobject::inotifyMaster
);
if (!masterOnly)
{
//- We don't know whether this code was from IOdictionary
// (possibly read on master only) or from e.g. Field so cannot
// decide here.
//// all processes must wait for compile to finish - except if this
//// file is only read on the master
//bool masterOnly =
// (
// regIOobject::fileModificationChecking
// == regIOobject::timeStampMaster
// )
// || (
// regIOobject::fileModificationChecking
// == regIOobject::inotifyMaster
// );
//
//if (!masterOnly)
//{
reduce(create, orOp<bool>());
}
//}
if (isA<IOdictionary>(topDict(parentDict)))
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment