[Mono-bugs] [Bug 62395][Nor] Changed - Kill() won't kill
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sat May 14 18:06:57 EDT 2005
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 michi at zeroc.com.
http://bugzilla.ximian.com/show_bug.cgi?id=62395
--- shadow/62395 2005-05-14 11:43:19.000000000 -0400
+++ shadow/62395.tmp.25323 2005-05-14 18:06:57.000000000 -0400
@@ -108,6 +108,16 @@
That DllImports to kill(2), so it should kill your process outright...
Though I'd think System.Environment.Exit () would also work...
------- Additional Comments From sebastien at ximian.com 2005-05-14 11:43 -------
FYI System.Environment.FailFast, in 2.0, will kill you fast ;-)
+
+------- Additional Comments From michi at zeroc.com 2005-05-14 18:06 -------
+Thanks for the suggestion to use Mono.Unix.Syscall.Kill()! I didn't
+know that existed! This will definitely work and be more portable
+than calling /bin/kill.
+
+Out of interest, is there a specific reason for not making the normal
+Process.Kill() use Close(9)? I assume that
+System.Environment.FailFast is part of the official .NET 2.0, not a
+Mono-specific extension?
More information about the mono-bugs
mailing list