lkml.org 
[lkml]   [1997]   [Dec]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.2: TaskID's for CLONE_PID? Proper signal handling?
>May I ask, what is the "new signal handling"? Is this POSIX real-time (queued) signals?

Yes, We could probably rob one of the RT signals, and SIGUNUSED for
linuxthreads (on x86), and rob two of the RT signals for platforms that don't
have a SIGUNUSED available. I don't if there is a requirement on the number
of RT signals that are needed though.

Below are the changes that I mean (I haven't tried them yet).

Peeter

diff --recursive -u --new-file linux.base/include/asm-alpha/signal.h linux/include/asm-alpha/signal.h
--- linux.base/include/asm-alpha/signal.h Tue Dec 9 12:31:19 1997
+++ linux/include/asm-alpha/signal.h Tue Dec 30 01:53:21 1997
@@ -64,13 +64,15 @@
#define SIGINFO 29
#define SIGUSR1 30
#define SIGUSR2 31
+#define SIGTHD1 32
+#define SIGTHD2 33

#define SIGPOLL SIGIO
#define SIGPWR SIGINFO
#define SIGIOT SIGABRT

/* These should not be considered constants from userland. */
-#define SIGRTMIN 32
+#define SIGRTMIN 34
#define SIGRTMAX (_NSIG-1)

/*
diff --recursive -u --new-file linux.base/include/asm-i386/signal.h linux/include/asm-i386/signal.h
--- linux.base/include/asm-i386/signal.h Tue Dec 9 12:31:19 1997
+++ linux/include/asm-i386/signal.h Tue Dec 30 01:52:06 1997
@@ -63,10 +63,11 @@
#define SIGLOST 29
*/
#define SIGPWR 30
-#define SIGUNUSED 31
+#define SIGTHD1 31
+#define SIGTHD2 32

/* These should not be considered constants from userland. */
-#define SIGRTMIN 32
+#define SIGRTMIN 33
#define SIGRTMAX (_NSIG-1)

/*
\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.089 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site