mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 04:19:37 +08:00
Trivial, cosmetic changes
This commit is contained in:
+1
-1
Submodule arch updated: 5a6306b76a...689e18739d
@@ -305,7 +305,7 @@ int sig_tcbdispatch(FAR struct tcb_s *stcb, siginfo_t *info)
|
|||||||
stcb, info->si_signo, info->si_code,
|
stcb, info->si_signo, info->si_code,
|
||||||
info->si_value.sival_int, stcb->sigprocmask);
|
info->si_value.sival_int, stcb->sigprocmask);
|
||||||
|
|
||||||
DEBUGASSERT(stcb && info);
|
DEBUGASSERT(stcb != NULL && info != NULL);
|
||||||
|
|
||||||
/************************* MASKED SIGNAL HANDLING ************************/
|
/************************* MASKED SIGNAL HANDLING ************************/
|
||||||
|
|
||||||
@@ -439,7 +439,7 @@ int sig_dispatch(pid_t pid, FAR siginfo_t *info)
|
|||||||
/* Get the TCB associated with the pid */
|
/* Get the TCB associated with the pid */
|
||||||
|
|
||||||
stcb = sched_gettcb(pid);
|
stcb = sched_gettcb(pid);
|
||||||
if (stcb)
|
if (stcb != NULL)
|
||||||
{
|
{
|
||||||
/* The task/thread associated with this PID is still active. Get its
|
/* The task/thread associated with this PID is still active. Get its
|
||||||
* task group.
|
* task group.
|
||||||
@@ -459,7 +459,7 @@ int sig_dispatch(pid_t pid, FAR siginfo_t *info)
|
|||||||
|
|
||||||
/* Did we locate the group? */
|
/* Did we locate the group? */
|
||||||
|
|
||||||
if (group)
|
if (group != NULL)
|
||||||
{
|
{
|
||||||
/* Yes.. call group_signal() to send the signal to the correct group
|
/* Yes.. call group_signal() to send the signal to the correct group
|
||||||
* member.
|
* member.
|
||||||
@@ -478,7 +478,7 @@ int sig_dispatch(pid_t pid, FAR siginfo_t *info)
|
|||||||
/* Get the TCB associated with the pid */
|
/* Get the TCB associated with the pid */
|
||||||
|
|
||||||
stcb = sched_gettcb(pid);
|
stcb = sched_gettcb(pid);
|
||||||
if (!stcb)
|
if (stcb == NULL)
|
||||||
{
|
{
|
||||||
return -ESRCH;
|
return -ESRCH;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user