Squashed commit of the following:
Replace all calls to sigprocmask() in the OS proper with calls to nxsig_procmask(). sched/signal: Add internal OS interface nxsig_procmask(). This internal interface is equivalent to the standard sigprocmask() used by applications except that it does not modify the errno value. Also fixes a problem in that the original sigprocmask() was not setting the errno.
Showing
- binfmt/binfmt_schedunload.c 8 additions, 10 deletionsbinfmt/binfmt_schedunload.c
- include/nuttx/signal.h 42 additions, 0 deletionsinclude/nuttx/signal.h
- sched/pthread/pthread_exit.c 3 additions, 2 deletionssched/pthread/pthread_exit.c
- sched/pthread/pthread_sigmask.c 7 additions, 13 deletionssched/pthread/pthread_sigmask.c
- sched/signal/sig_mqnotempty.c 2 additions, 1 deletionsched/signal/sig_mqnotempty.c
- sched/signal/sig_procmask.c 69 additions, 11 deletionssched/signal/sig_procmask.c
- sched/task/task_setup.c 3 additions, 2 deletionssched/task/task_setup.c
- sched/task/task_spawnparms.c 3 additions, 2 deletionssched/task/task_spawnparms.c
Loading
Please register or sign in to comment