[Mono-bugs] [Bug 81896][Wis] Changed - FileSystemWatcher events do not fire

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Jul 14 20:47:28 EDT 2007

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by gonzalo.mono at gmail.com.


--- shadow/81896	2007-07-06 13:00:00.000000000 -0400
+++ shadow/81896.tmp.9981	2007-07-14 20:47:28.000000000 -0400
@@ -109,6 +109,16 @@
 Total Physical Memory	2 045,88 MB
 Available Physical Memory	1,04 GB
 Total Virtual Memory	4,21 GB
 Available Virtual Memory	2,94 GB
 Page File Space	2,29 GB
 Page File	C:\pagefile.sys
+------- Additional Comments From gonzalo.mono at gmail.com  2007-07-14 20:47 -------
+The problem here is a matter of timing.
+The default file system watcher, used in windows, polls the filesystem
+every 750ms. Your program opens, closes and deletes the file much
+faster than that and so no events are generated. The solution? A
+native implementation for windows...
+IF you add a small delay after closing the file and after deleting it,
+you'll get the events.

More information about the mono-bugs mailing list