summaryrefslogtreecommitdiff
path: root/nuttx/include/signal.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-18 01:52:42 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-18 01:52:42 +0000
commitc5aff7d2d81275f2023345b9e11ca5cacb34665b (patch)
tree1eae1d92a03b0a2cbd1e83b45704a24d8662cf17 /nuttx/include/signal.h
parentc0ae392704e4e19f7c09fae1e753f777133afe8e (diff)
downloadnuttx-c5aff7d2d81275f2023345b9e11ca5cacb34665b.tar.gz
nuttx-c5aff7d2d81275f2023345b9e11ca5cacb34665b.tar.bz2
nuttx-c5aff7d2d81275f2023345b9e11ca5cacb34665b.zip
Add internal API task_reparent(), used in posix_spawn(). Move libc/spawn/lib_ps.c to sched/task_posixspawn.c; Move libc/spawn/spawn.h to include/nuttx/spawn.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5531 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/signal.h')
-rw-r--r--nuttx/include/signal.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/nuttx/include/signal.h b/nuttx/include/signal.h
index 30726105b..7c6b4cd55 100644
--- a/nuttx/include/signal.h
+++ b/nuttx/include/signal.h
@@ -61,14 +61,17 @@
/* All signals are "real time" signals */
-#define SIGRTMIN 0 /* First real time signal */
-#define SIGRTMAX 31 /* Last real time signal */
+#define SIGRTMIN MIN_SIGNO /* First real time signal */
+#define SIGRTMAX MAX_SIGNO /* Last real time signal */
/* A few of the real time signals are used within the OS. They have
* default values that can be overridden from the configuration file. The
* rest are all user signals.
*
- * These are semi-standard signal definitions:
+ * The signal number zero is wasted for the most part. It is a valid
+ * signal number, but has special meaning at many interfaces (e.g., Kill()).
+ *
+ * These are the semi-standard signal definitions:
*/
#ifndef CONFIG_SIG_SIGUSR1