nuttx/sched/signal
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
..
Make.defs This commit adds support for default signal actions for SIGSTOP, SIGSTP, and SIGCONT. 2018-08-30 10:27:18 -06:00
sig_action.c This commit adds support for default signal actions for SIGSTOP, SIGSTP, and SIGCONT. 2018-08-30 10:27:18 -06:00
sig_allocpendingsigaction.c This change renames all internal, private NuttX signal-related functions to use the prefix nxsig_ so that they cannot be confused with application interfaces that begin, primarily, with sig_ 2017-10-05 13:25:25 -06:00
sig_cleanup.c This change renames all internal, private NuttX signal-related functions to use the prefix nxsig_ so that they cannot be confused with application interfaces that begin, primarily, with sig_ 2017-10-05 13:25:25 -06:00
sig_default.c This commit adds support for default signal actions for SIGSTOP, SIGSTP, and SIGCONT. 2018-08-30 10:27:18 -06:00
sig_deliver.c Squashed commit of the following: 2018-08-27 11:40:09 -06:00
sig_dispatch.c This commit adds support for default signal actions for SIGSTOP, SIGSTP, and SIGCONT. 2018-08-30 10:27:18 -06:00
sig_findaction.c This change renames all internal, private NuttX signal-related functions to use the prefix nxsig_ so that they cannot be confused with application interfaces that begin, primarily, with sig_ 2017-10-05 13:25:25 -06:00
sig_initialize.c This change renames all internal, private NuttX signal-related functions to use the prefix nxsig_ so that they cannot be confused with application interfaces that begin, primarily, with sig_ 2017-10-05 13:25:25 -06:00
sig_kill.c Fix lots of typos in C comments and Kconfig help text 2018-07-08 18:24:45 -06:00
sig_lowest.c This change renames all internal, private NuttX signal-related functions to use the prefix nxsig_ so that they cannot be confused with application interfaces that begin, primarily, with sig_ 2017-10-05 13:25:25 -06:00
sig_mqnotempty.c Squashed commit of the following: 2017-10-07 12:16:10 -06:00
sig_nanosleep.c Elimate use of the non-standard type systime_t and replace it the equivalent, standard type clock_t 2018-06-16 12:16:13 -06:00
sig_notification.c This change renames all internal, private NuttX signal-related functions to use the prefix nxsig_ so that they cannot be confused with application interfaces that begin, primarily, with sig_ 2017-10-05 13:25:25 -06:00
sig_pause.c This commit adds internal versions of the signal interfaces: 2017-10-06 08:28:20 -06:00
sig_pending.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
sig_procmask.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
sig_queue.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
sig_releasependingsigaction.c This change renames all internal, private NuttX signal-related functions to use the prefix nxsig_ so that they cannot be confused with application interfaces that begin, primarily, with sig_ 2017-10-05 13:25:25 -06:00
sig_releasependingsignal.c This change renames all internal, private NuttX signal-related functions to use the prefix nxsig_ so that they cannot be confused with application interfaces that begin, primarily, with sig_ 2017-10-05 13:25:25 -06:00
sig_removependingsignal.c This change renames all internal, private NuttX signal-related functions to use the prefix nxsig_ so that they cannot be confused with application interfaces that begin, primarily, with sig_ 2017-10-05 13:25:25 -06:00
sig_sleep.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
sig_suspend.c Replace all ASSERT with DEBUGASSERT to save the code space 2018-08-24 06:58:30 -06:00
sig_timedwait.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
sig_unmaskpendingsignal.c This change renames all internal, private NuttX signal-related functions to use the prefix nxsig_ so that they cannot be confused with application interfaces that begin, primarily, with sig_ 2017-10-05 13:25:25 -06:00
sig_usleep.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
sig_waitinfo.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
signal.h sched/signal: Add logic and an interface to determin if a signal can be caught or ignored. sigaction now correctly returns EINVAL on any attempt to catch or ignore such signals (only SIGKILL for now and only if CONFIG_SIG_DEFAULT=y). 2018-08-28 12:39:03 -06:00