[Mono-bugs] [Bug 74525][Nor] Changed - Thread.Interrupt not implemented
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sat Oct 7 11:06:44 EDT 2006
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.
http://bugzilla.ximian.com/show_bug.cgi?id=74525
--- shadow/74525 2005-12-06 07:25:11.000000000 -0500
+++ shadow/74525.tmp.7567 2006-10-07 11:06:44.000000000 -0400
@@ -167,6 +167,18 @@
What would be involved in implementing this method within Mono?
------- Additional Comments From vargaz at gmail.com 2005-12-06 07:25 -------
Not sure why this was marked as fixed :)
-> reopening.
+
+------- Additional Comments From miguel at ximian.com 2006-10-07 11:06 -------
+This sounds like a relatively simple method to implement, as we have
+most of the infrastructure in place.
+
+From the manual, Interrupt is basically a "mild" abort, it will only
+throw the exception if the code is currently in the WaitSleepJoin
+state, it will not abort anything.
+
+If the thread is not in that state, it just keeps a flag around, for
+the time the thread needs to switch into WaitSleepJoin, and at that
+point it would trigger the interrupt exception.
More information about the mono-bugs
mailing list