You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/11/09 09:20:51 UTC

[GitHub] [incubator-nuttx] GUIDINGLI commented on a change in pull request #4803: sched/signal: add spinlock to g_sigfreeaction

GUIDINGLI commented on a change in pull request #4803:
URL: https://github.com/apache/incubator-nuttx/pull/4803#discussion_r745425923



##########
File path: sched/signal/sig_action.c
##########
@@ -53,10 +53,13 @@
 static FAR sigactq_t *nxsig_alloc_action(void)
 {
   FAR sigactq_t *sigact;
+  irqstate_t flags;
 
   /* Try to get the signal action structure from the free list */
 
+  flags = spin_lock_irqsave(NULL);

Review comment:
       done




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org