I have a question about exactly _when_ the signal for "file changed" is
sent. Say we have a file watcher on a 10 Gigabyte file. And we start
rewriting that file (not atomically) by streaming data to the file. Does
the signal get sent when we get done streaming the data to the file and we
close the file on our end? or at some other time?

I get that this probably completely depends on the operating system being
used. I am not really familiar at that low a level how filesystems work
(like NTFS, APFS and others) so I can't figure out what would happen.

This also probably points to an issue in our design where we probably
should just be streaming to a temp file then atomically replace
the original with the new one.
--
Mike Jackson
BlueQuartz Software
Principal DREAM.3D Developer
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to