[Mono-bugs] [Bug 80499][Nor] Changed - read file results in file changed event

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jan 11 20:46:33 EST 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 miguel at ximian.com.


--- shadow/80499	2007-01-11 16:07:28.000000000 -0500
+++ shadow/80499.tmp.4843	2007-01-11 20:46:33.000000000 -0500
@@ -72,6 +72,19 @@
 // problem is seen when run on mono 1.2 but not on 1.1.13
 The touch triggers the "Changed" event to occur.
 The onChange method reads the file.
 When the file is read another "Changed" event is fired.
 loop occurs
+------- Additional Comments From miguel at ximian.com  2007-01-11 20:46 -------
+Some reasearch that we did today:
+Microsoft has a queue for the same message being emitted, it delivers
+notifications sequentially (at least for the same kind of message).
+So if changes happen multiple times while processing (ie, adding a big
+sleep in there before doing anything and a change happens) the
+messages will be delivered one by one.
+Still open to research: does a notification happen on "Changed" if the
+access time has changed on Windows?

More information about the mono-bugs mailing list