nuttx/sched/signal
Xiang Xiao 6a3c2aded6 Fix wait loop and void cast (#24)
* Simplify EINTR/ECANCEL error handling

1. Add semaphore uninterruptible wait function
2 .Replace semaphore wait loop with a single uninterruptible wait
3. Replace all sem_xxx to nxsem_xxx

* Unify the void cast usage

1. Remove void cast for function because many place ignore the returned value witout cast
2. Replace void cast for variable with UNUSED macro
2020-01-02 10:54:43 -06:00
..
Make.defs Squashed commit of the following: 2019-05-21 18:57:54 -06:00
sig_action.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
sig_allocpendingsigaction.c tools/nxstyle.c: Fix logic that detects if an operator is correctly delimited with spaces. sched/: Various changes because sched/ C files were used as Guinea Pigs to test nstyle.c. 2019-03-01 10:50:02 -06:00
sig_cleanup.c sched/task/task_restart.c: Fix a compile error if CONFIG_DISABLE_SIGNALS defined. 2018-09-15 14:51:04 -06:00
sig_default.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
sig_deliver.c arch/xtensa/src/esp32/esp32_serial.c: Fix some backward arguments. Correct 2-stop bit setting. 2019-02-28 11:32:31 -06:00
sig_dispatch.c arch/arm/src/stm32f0l0g0/Kconfig: Select STM32F0L0G0_PWM when TIM{14-17}_PWM enabled. 2019-11-30 15:34:00 -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 sched/signal/sig_initialize.c: Add some checks for allocation failures. 2019-09-23 07:49:21 -06:00
sig_kill.c mm/umm_heap: sbrk() is only available in the KERNEL build. 2019-02-04 10:32:31 -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_nanosleep.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
sig_notification.c sched/Kconfig, sched/signal/sig_notification.c: Add configuration option to decide select either the high-priority or low-priority work queue for SIG_EVTHREAD notifications. 2019-08-26 10:54:49 -06:00
sig_pause.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
sig_pending.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
sig_ppoll.c tools/nxstyle.c: Fix error in conditional logic that was preventing detection bad brace alignment. Add logic to handle alignment of braces in data initializators which following slightly different indentation rules. 2019-06-30 10:35:10 -06:00
sig_procmask.c Standardization of some function headers. 2018-03-13 09:52:27 -06:00
sig_pselect.c sched/signal and syscall/: Add support for pselect() and ppoll() functions 2018-11-08 07:45:23 -06:00
sig_queue.c Fix some typos 2019-09-17 10:46:23 -06:00
sig_releasependingsigaction.c tools/nxstyle.c: Fix logic that detects if an operator is correctly delimited with spaces. sched/: Various changes because sched/ C files were used as Guinea Pigs to test nstyle.c. 2019-03-01 10:50:02 -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 Fix minor typo / copy-paste. 'cancellaction point'->'cancellation point' 2019-08-23 11:57:35 -06:00
sig_suspend.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
sig_timedwait.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
sig_unmaskpendingsignal.c Re-implements reverted commit 344f7bc9f6 in a way that should not have the undesired side-effect. include/nuttx/sched.h: Add a bit to the TCB flags to indicat the thread is a user thread in a syscall. sched/nuttx/nxsig_dispatch.c: Delay dispatching to signal handlers if within a system call. In all syscall implementations: Process delayed signal handling when exiting system call. 2019-11-28 12:47:36 -06:00
sig_usleep.c Fix minor typo / copy-paste. 'cancellaction point'->'cancellation point' 2019-08-23 11:57:35 -06:00
sig_waitinfo.c Fix wait loop and void cast (#24) 2020-01-02 10:54:43 -06:00
signal.h sched/signal and related changes to other OS subsystems. 2019-01-27 09:28:59 -06:00