If it terminates a process which contains the CallbackFS callbacks then nothing will be called already (the process is just terminated and all resources allocated for it are cleaned).

If another process accessed a CallbackFS virtual disk but before its terminating has not closed any file handles on it then Windows itself closes them and the OnClose callback will be called. If there are pending callback operations at this time then CallbackFS will wait for them and process in the same way as the "standard" file system (FATFS, NTFS) do.

Process A contains CallbackFS callbacks. Process B is now accessing the CallbackFS virtual disk which causes an ongoing callback operation within process A. Now, before this operation returns, A crashes. My questions is, in this case, will the system call that blocks B returns immediately with an error code, or will the system call block until timeout (specified by A via CallbackFileSystem.ResetTimeout), or ...?

We use cookies to help provide you with the best possible online experience. By using this site, you agree that we may store and access cookies on your device. You can find out more about and set your own preferences here.