Skip to content

BUG: timeActivatedFileUpdate: File state is not changed

2986-test.zip shows that fileHandler().getState(watchIndices_[i]) returns 0 (i.e. fileMonitor::UNMODIFIED).

If the following is added into the controlDict::functions, fileHandler().getState(watchIndices_[i]) correctly returns 1:

    sleep
    {
        type    coded;
        libs    (utilityFunctionObjects);
        name    sleep;

        codeExecute #{ sleep(0.00001); #};
    }

133149a1

Edited by Kutalmış Berçin