nuttx/sched/signal
Gregory Nutt 9d3148406c Signals were not a good choice of IPC to implement the poll function for several reasons: In order to handle the asynchrnous poll-related event, a substantial amount of state information is needed. Signals are only capable of passing minimal amounts of data. There are also complexities with performing kernel space signal handlers in kernel space code that is better to avoid. So, instead of signals, the equivalent logic was converted to run via a callback that executes on the high-priority work queue.
Squashed commit of the following:

    Fix up some final compile isses.

    net/netdev:  Convert the network down notification logic to use the new wqueue-based notification factility.

    net/udp:  Convert the UDP readahead notification logic to use the new wqueue-based notification factility.

    net/tcp:  Convert the TCP readahead notification logic to use the new wqueue-based notification factility.

    mm/iob:  Convert the IOB notification logic to use the new wqueue-based notification factility.

    sched/wqueue:  Signals are not good IPCs to support the target poll functionality for several reasons including the amount of data that can be passed with a signal and in the fact that in protected and kernel modes, user threads executing signal handlers in protected, kernel memory is problematic.  Instead, convert the same logic to perform the notifications via function callback on the high priority work queue.
2018-09-09 15:01:44 -06:00
..
Make.defs Signals were not a good choice of IPC to implement the poll function for several reasons: In order to handle the asynchrnous poll-related event, a substantial amount of state information is needed. Signals are only capable of passing minimal amounts of data. There are also complexities with performing kernel space signal handlers in kernel space code that is better to avoid. So, instead of signals, the equivalent logic was converted to run via a callback that executes on the high-priority work queue. 2018-09-09 15:01:44 -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 drivers/serial: Add support for Ctrl-Z. This works just like the recently added Ctrl-C support except that SIGSTP is sent when the Ctrl-Z characters is encountered vs. SIGINT. 2018-09-02 15:36:25 -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_evthread.c sched/signal: Add a generic signal notification facility. Modify the custom IOB available notifier so that it is now just a wrapper around this generic signal notification. This generic signal notification faility will, eventually, be used to support network polling. 2018-09-09 08:32:37 -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 Signals were not a good choice of IPC to implement the poll function for several reasons: In order to handle the asynchrnous poll-related event, a substantial amount of state information is needed. Signals are only capable of passing minimal amounts of data. There are also complexities with performing kernel space signal handlers in kernel space code that is better to avoid. So, instead of signals, the equivalent logic was converted to run via a callback that executes on the high-priority work queue. 2018-09-09 15:01:44 -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_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 Signals were not a good choice of IPC to implement the poll function for several reasons: In order to handle the asynchrnous poll-related event, a substantial amount of state information is needed. Signals are only capable of passing minimal amounts of data. There are also complexities with performing kernel space signal handlers in kernel space code that is better to avoid. So, instead of signals, the equivalent logic was converted to run via a callback that executes on the high-priority work queue. 2018-09-09 15:01:44 -06:00