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



##########
File path: sched/signal/sig_action.c
##########
@@ -38,10 +38,55 @@
 #include "group/group.h"
 #include "signal/signal.h"
 
+/****************************************************************************
+ * Private Data
+ ****************************************************************************/
+
+/* g_sigactionalloc is a pointer to the start of the allocated blocks of
+ * signal actions.
+ */
+
+static sigactq_t  *g_sigactionalloc;
+
 /****************************************************************************
  * Private Functions
  ****************************************************************************/
 
+/****************************************************************************
+ * Name: nxsig_alloc_actionblock
+ *
+ * Description:
+ *   Allocate a block of signal actions and place them
+ *   on the free list.
+ *
+ ****************************************************************************/
+
+static void nxsig_alloc_actionblock(void)
+{
+  FAR sigactq_t *sigact;
+  irqstate_t flags;
+  int i;
+
+  /* Allocate a block of signal actions */
+
+  g_sigactionalloc =

Review comment:
       let's remove g_sigactionalloc, which isn't really needed at all.




-- 
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-unsubscr...@nuttx.apache.org

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


Reply via email to