mail-archives/mono-bugs/2005-June/031170.html

99 строки
4.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 75387][Wis] Changed - [PATCH] SIGRTMIN not always
usable
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2075387%5D%5BWis%5D%20Changed%20-%20%5BPATCH%5D%20SIGRTMIN%20not%20always%0A%09usable&In-Reply-To=bug-75387%40chernobyl.ximian.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="031169.html">
<LINK REL="Next" HREF="031171.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 75387][Wis] Changed - [PATCH] SIGRTMIN not always
usable</H1>
<B>bugzilla-daemon at bugzilla.ximian.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2075387%5D%5BWis%5D%20Changed%20-%20%5BPATCH%5D%20SIGRTMIN%20not%20always%0A%09usable&In-Reply-To=bug-75387%40chernobyl.ximian.com"
TITLE="[Mono-bugs] [Bug 75387][Wis] Changed - [PATCH] SIGRTMIN not always
usable">bugzilla-daemon at bugzilla.ximian.com
</A><BR>
<I>Wed Jun 29 19:45:45 EDT 2005</I>
<P><UL>
<LI>Previous message: <A HREF="031169.html">[Mono-bugs] [Bug 75366][Maj] Changed - [PATCH] SRE uses Reflected
not Declaring type for token
</A></li>
<LI>Next message: <A HREF="031171.html">[Mono-bugs] [Bug 75390][Nor] Changed - [PATCH] TLS issues
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#31170">[ date ]</a>
<a href="thread.html#31170">[ thread ]</a>
<a href="subject.html#31170">[ subject ]</a>
<a href="author.html#31170">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>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 <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">miguel at ximian.com.</A>
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=75387">http://bugzilla.ximian.com/show_bug.cgi?id=75387</A>
--- shadow/75387 2005-06-27 08:02:33.000000000 -0400
+++ shadow/75387.tmp.2222 2005-06-29 19:45:45.000000000 -0400
@@ -31,6 +31,27 @@
at least 8 signals.
------- Additional Comments From <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">robertj at gmx.net</A> 2005-06-27 05:36 -------
Created an attachment (id=15386)
sigrtmin.diff
+
+------- Additional Comments From <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">miguel at ximian.com</A> 2005-06-29 19:45 -------
+I would rather have some way of testing for this than mkaing the
+change on every distribution.
+
+This patch only turns the problem into a potentially different problem.
+
+What we probably need to have is a way of &quot;probing&quot; if these signals
+are being used, something like this:
+
+handler = -1;
+for (int i = SIGRTMIN; i &lt; SIGRTMAX; i++){
+ sigaction (i, NULL, &amp;old);
+ if (old.sa_handler == NOT_SET){
+ handler = i; break;
+ }
+}
+
+Now, the above only works if signals have been preset before Mono has
+been invoked. Am not sure if there is a reliable way of coping with
+this problem
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="031169.html">[Mono-bugs] [Bug 75366][Maj] Changed - [PATCH] SRE uses Reflected
not Declaring type for token
</A></li>
<LI>Next message: <A HREF="031171.html">[Mono-bugs] [Bug 75390][Nor] Changed - [PATCH] TLS issues
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#31170">[ date ]</a>
<a href="thread.html#31170">[ thread ]</a>
<a href="subject.html#31170">[ subject ]</a>
<a href="author.html#31170">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>