nuttx/sched/group
Gregory Nutt a7265d71c6 This commit adds support for default signal actions for SIGSTOP, SIGSTP, and SIGCONT.
Squashed commit of the following:

    Add procfs support to show stopped tasks.  Add nxsig_action() to solve a chicken and egg problem:  We needed to use sigaction to set default actions, but sigaction() would refuse to set actions if the default actions could not be caught or ignored.

    sched/signal:  Add configuration option to selectively enabled/disable default signal actions for SIGSTOP/SIGSTP/SIGCONT and SIGKILL/SIGINT.  Fix some compilation issues.

    sched/sched:  Okay.. I figured out a way to handle state changes that may occur while they were stopped. If a task/thread was already blocked when SIGSTOP/SIGSTP was received, it will restart in the running state.  I will appear that to the task/thread that the blocked condition was interrupt by a signal and returns the EINTR error.

    sched/group and sched/sched:  Finish framework for continue/resume logic.

    sched/signal:  Roughing out basic structure to support task suspend/resume
2018-08-30 10:27:18 -06:00
..
group_addrenv.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
group_childstatus.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
group_continue.c This commit adds support for default signal actions for SIGSTOP, SIGSTP, and SIGCONT. 2018-08-30 10:27:18 -06:00
group_create.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
group_exitinfo.c Merged in masayuki2009/nuttx.nuttx/fix_loadable_elf_with_smp (pull request #706) 2018-08-06 03:36:14 +00:00
group_find.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
group_foreachchild.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
group_free.c sched/: Replace explict references to g_readytorun with indirect references via the this_task() macro 2016-02-06 17:44:41 -06:00
group_join.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
group_killchildren.c sched/group and sched/signal: Some good but trivial stuff harvested from the suspend branch. 2018-08-29 15:50:01 -06:00
group_leave.c binfmt/ and sched/group: Re-architect the way that loadable ELF or NXFLAT modules are unloaded. Memory resources must be recovered when the task loaded into memory exits. The originmal implementatino used the death-of-child SIGCHLD signal to perform the unload. There are several problems with this: It is overly complex, it requires that the parent task stay resident while the loaded task runs, and it has fatal logic flaws in the protected and kernel model builds because the user signal handler attempts to run in the kernel address space. This commit corrects with using a mindlessly simply BINFMT callback when the task exits. 2018-08-05 08:09:54 -06:00
group_malloc.c Remove some empty file section section header comments 2016-02-17 18:05:03 -06:00
group_setupidlefiles.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
group_setupstreams.c sched/: Review and correct some stylistic inconsistencies 2016-08-07 08:25:30 -06:00
group_setuptaskfiles.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
group_signal.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
group_suspendchildren.c This commit adds support for default signal actions for SIGSTOP, SIGSTP, and SIGCONT. 2018-08-30 10:27:18 -06:00
group_waiter.c Forgot to add a file needed in the last commit 2015-12-22 12:06:05 -06:00
group_zalloc.c Remove some empty file section section header comments 2016-02-17 18:05:03 -06:00
group.h This commit adds support for default signal actions for SIGSTOP, SIGSTP, and SIGCONT. 2018-08-30 10:27:18 -06:00
Make.defs This commit adds support for default signal actions for SIGSTOP, SIGSTP, and SIGCONT. 2018-08-30 10:27:18 -06:00