mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 06:33:33 +08:00
Add logic to retain child task exit status if so configured
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5553 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -129,11 +129,13 @@
|
||||
|
||||
/* struct sigaction flag values */
|
||||
|
||||
#define SA_NOCLDSTOP 1 /* Do not generate SIGCHILD when
|
||||
* children stop (ignored) */
|
||||
#define SA_SIGINFO 2 /* Invoke the signal-catching function
|
||||
* with 3 args instead of 1
|
||||
* (always assumed) */
|
||||
#define SA_NOCLDSTOP (1 << 0) /* Do not generate SIGCHILD when
|
||||
* children stop (ignored) */
|
||||
#define SA_SIGINFO (1 << 1) /* Invoke the signal-catching function
|
||||
* with 3 args instead of 1
|
||||
* (always assumed) */
|
||||
#define SA_NOCLDWAIT (1 << 2) /* If signo=SIGCHLD, exit status of child
|
||||
* processes will be discarded */
|
||||
|
||||
/* These are the possible values of the signfo si_code field */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user