Skip to content
Snippets Groups Projects
Commit 2ae4bf73 authored by Will Bainbridge's avatar Will Bainbridge Committed by mattijs
Browse files

fileHandler: Added flush method

This method waits until all the threads have completed IO operations and
then clears any cached information about the files on disk. This
replaces the deactivation of threading by means of zeroing the buffer
size when writing and reading of a file happen in sequence. It also
allows paraFoam to update the list of available times.

Patch contributed by Mattijs Janssens
Resolves bug report https://bugs.openfoam.org/view.php?id=2962
parent 70bc72c2
Branches
Tags
No related merge requests found
Showing
with 71 additions and 37 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment