Good morning,
We are interested in the consumption of time FlushViewOfFileand msync. UnmapViewOfFileDocumentation citation :
To minimize the risk of data loss in the event of a power failure or system failure, applications should explicitly clear modified pages using the function FlushViewOfFile.
Are FlushViewOfFile()and msync()expensive operations? The reason we ask is because in our application we may not need to minimize the risk of data loss in the event of a system failure.
Thank,
Frank source
share