Re: [Interest] QFileSystemWatcher: Timing of file changed signal.

2023-10-10 Thread Thiago Macieira
On Tuesday, 10 October 2023 08:17:44 PDT Michael Jackson wrote: > 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. Correct, it

[Interest] QFileSystemWatcher: Timing of file changed signal.

2023-10-10 Thread Michael Jackson
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