nuttx/sched/signal
Masayuki Ishikawa b9707776d6 Merged in masayuki2009/nuttx.nuttx/fix_signal_handing_for_smp (pull request #599)
Fix signal handing for smp

* sched/signal: Remove SMP related logic in sig_dispatch.c

    This change prevents from a deadlock in up_schedulesigaction.c
    where inter-CPU signal handling is actually implemented.

    Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

* arch/arm/src/armv7-m: Fix signal handling for SMP

    In previous implementation, signal handling for SMP was incorrect.
    Thus, for example, if an inter-CPU signal happened an incorret tcb
    was signaled and caused ASSERT().

    This change fixes the issues and works for both inter-CPU signal
    handling and signal handling on the same CPU.

    Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>

Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-02-14 14:10:32 +00:00
..
Make.defs Adds new OS internal functions nxsig_sleep() and nxsig_usleep. These differ from the standard sleep() and usleep() in that (1) they don't cause cancellation points, and (2) don't set the errno variable (if applicable). All calls to sleep() and usleep() changed to calls to nxsig_sleep() and nxsig_usleep(). 2017-10-06 10:15:01 -06:00
sig_action.c Make sure that labeling is used consistently in all function headers. 2018-02-01 10:00:02 -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_deliver.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_dispatch.c Merged in masayuki2009/nuttx.nuttx/fix_signal_handing_for_smp (pull request #599) 2018-02-14 14:10:32 +00: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 Squashed commit of the following: 2017-10-07 08:22:18 -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 Changes from review of clock_nanosleep(): Misplaced right bracket, but return value in one failure case. 2017-11-11 18:01:28 -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 Make sure that labeling is used consistently in all function headers. 2018-02-01 10:00:02 -06:00
sig_procmask.c Make sure that labeling is used consistently in all function headers. 2018-02-01 10:00:02 -06:00
sig_queue.c Make sure that labeling is used consistently in all function headers. 2018-02-01 10:00:02 -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 Adds new OS internal functions nxsig_sleep() and nxsig_usleep. These differ from the standard sleep() and usleep() in that (1) they don't cause cancellation points, and (2) don't set the errno variable (if applicable). All calls to sleep() and usleep() changed to calls to nxsig_sleep() and nxsig_usleep(). 2017-10-06 10:15:01 -06:00
sig_suspend.c Make sure that labeling is used consistently in all function headers. 2018-02-01 10:00:02 -06:00
sig_timedwait.c Make sure that labeling is used consistently in all function headers. 2018-02-01 10:00:02 -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 Adds new OS internal functions nxsig_sleep() and nxsig_usleep. These differ from the standard sleep() and usleep() in that (1) they don't cause cancellation points, and (2) don't set the errno variable (if applicable). All calls to sleep() and usleep() changed to calls to nxsig_sleep() and nxsig_usleep(). 2017-10-06 10:15:01 -06:00
sig_waitinfo.c Make sure that labeling is used consistently in all function headers. 2018-02-01 10:00:02 -06:00
signal.h sched/signal: Add logic to wake up a thread that is waiting on a signal if it is canceled. 2017-10-12 08:55:19 -06:00