Move signal-related files from sched/ to sched/signal

This commit is contained in:
Gregory Nutt 2014-08-08 12:44:44 -06:00
parent 08879ca34c
commit 0385a00a60
35 changed files with 38 additions and 41 deletions

View File

@ -183,20 +183,17 @@ endif
IRQ_SRCS = irq_initialize.c irq_attach.c irq_dispatch.c irq_unexpectedisr.c
include signal/Make.defs
include mqueue/Make.defs
CSRCS = $(MISC_SRCS) $(TSK_SRCS) $(GRP_SRCS) $(SCHED_SRCS) $(WDOG_SRCS)
CSRCS += $(TIME_SRCS) $(SEM_SRCS) $(TIMER_SRCS) $(PGFILL_SRCS)
CSRCS += $(IRQ_SRCS) $(CLOCK_SRCS) $(MQUEUE_SRCS)
CSRCS += $(IRQ_SRCS) $(CLOCK_SRCS) $(MQUEUE_SRCS) $(SIGNAL_SRCS)
ifneq ($(CONFIG_DISABLE_PTHREAD),y)
CSRCS += $(PTHREAD_SRCS)
endif
ifneq ($(CONFIG_DISABLE_SIGNALS),y)
CSRCS += $(SIGNAL_SRCS)
endif
ifneq ($(CONFIG_DISABLE_ENVIRON),y)
CSRCS += $(ENV_SRCS)
endif

View File

@ -49,7 +49,7 @@
#include <nuttx/lib.h>
#include "env_internal.h"
#include "sig_internal.h"
#include "signal/signal.h"
#include "pthread_internal.h"
#include "mqueue/mqueue.h"
#include "group_internal.h"

View File

@ -47,7 +47,7 @@
#include "os_internal.h"
#include "group_internal.h"
#include "sig_internal.h"
#include "signal/signal.h"
#if defined(HAVE_TASK_GROUP) && !defined(CONFIG_DISABLE_SIGNALS)

View File

@ -44,7 +44,7 @@ ifneq ($(CONFIG_DISABLE_SIGNALS),y)
MQUEUE_SRCS += mq_waitirq.c mq_notify.c
endif
# Include mq build support
# Include mqueue build support
DEPPATH += --dep-path mqueue
VPATH += :mqueue

View File

@ -52,7 +52,7 @@
#include <nuttx/kmalloc.h>
#include "os_internal.h"
#include "sig_internal.h"
#include "signal/signal.h"
#include "mqueue/mqueue.h"

View File

@ -53,7 +53,7 @@
#include "os_internal.h"
#ifndef CONFIG_DISABLE_SIGNALS
# include "sig_internal.h"
# include "signal/signal.h"
#endif
#include "mqueue/mqueue.h"

View File

@ -52,7 +52,7 @@
#include <nuttx/init.h>
#include "os_internal.h"
#include "sig_internal.h"
#include "signal/signal.h"
#include "wd_internal.h"
#include "sem_internal.h"
#ifndef CONFIG_DISABLE_MQUEUE

View File

@ -53,7 +53,7 @@
#include "os_internal.h"
#include "pthread_internal.h"
#include "clock_internal.h"
#include "sig_internal.h"
#include "signal/signal.h"
/****************************************************************************
* Definitions

View File

@ -47,7 +47,7 @@
#include "os_internal.h"
#include "group_internal.h"
#include "sig_internal.h"
#include "signal/signal.h"
/****************************************************************************
* Definitions

View File

@ -44,7 +44,7 @@
#include <nuttx/arch.h>
#include "os_internal.h"
#include "sig_internal.h"
#include "signal/signal.h"
/************************************************************************
* Definitions

View File

@ -41,7 +41,7 @@
#include <nuttx/arch.h>
#include "os_internal.h"
#include "sig_internal.h"
#include "signal/signal.h"
/************************************************************************
* Definitions

View File

@ -49,7 +49,7 @@
#include "os_internal.h"
#include "sem_internal.h"
#include "sig_internal.h"
#include "signal/signal.h"
/****************************************************************************
* Definitions

View File

@ -51,7 +51,7 @@
#include "os_internal.h"
#include "group_internal.h"
#include "sem_internal.h"
#include "sig_internal.h"
#include "signal/signal.h"
#include "mqueue/mqueue.h"
/****************************************************************************

View File

@ -38,7 +38,7 @@
************************************************************************/
#include <nuttx/config.h>
#include "sig_internal.h"
#include "signal/signal.h"
/************************************************************************
* Definitions

View File

@ -44,7 +44,7 @@
#include <nuttx/kmalloc.h>
#include "os_internal.h"
#include "sig_internal.h"
#include "signal/signal.h"
/************************************************************************
* Definitions

View File

@ -45,7 +45,7 @@
#include <debug.h>
#include "os_internal.h"
#include "sig_internal.h"
#include "signal/signal.h"
/************************************************************************
* Global Functions

View File

@ -41,7 +41,7 @@
#include <signal.h>
#include "sig_internal.h"
#include "signal/signal.h"
/************************************************************************
* Definitions

View File

@ -46,7 +46,7 @@
#include <debug.h>
#include "os_internal.h"
#include "sig_internal.h"
#include "signal/signal.h"
/****************************************************************************
* Definitions

View File

@ -43,7 +43,7 @@
#include <sched.h>
#include "os_internal.h"
#include "sig_internal.h"
#include "signal/signal.h"
/****************************************************************************
* Definitions

View File

@ -50,7 +50,7 @@
#include <nuttx/arch.h>
#include "os_internal.h"
#include "sig_internal.h"
#include "signal/signal.h"
/****************************************************************************
* Definitions

View File

@ -46,7 +46,7 @@
#include <errno.h>
#include "os_internal.h"
#include "sig_internal.h"
#include "signal/signal.h"
/****************************************************************************
* Definitions

View File

@ -42,7 +42,7 @@
#include <sched.h>
#include "os_internal.h"
#include "sig_internal.h"
#include "signal/signal.h"
/************************************************************************
* Definitions

View File

@ -51,7 +51,7 @@
#include <nuttx/arch.h>
#include "os_internal.h"
#include "sig_internal.h"
#include "signal/signal.h"
/************************************************************************
* Definitions

View File

@ -51,7 +51,7 @@
#include <nuttx/arch.h>
#include "os_internal.h"
#include "sig_internal.h"
#include "signal/signal.h"
/************************************************************************
* Definitions

View File

@ -47,7 +47,7 @@
#include <nuttx/arch.h>
#include "os_internal.h"
#include "sig_internal.h"
#include "signal/signal.h"
/****************************************************************************
* Definitions

View File

@ -53,7 +53,7 @@
#include <nuttx/arch.h>
#include "os_internal.h"
#include "sig_internal.h"
#include "signal/signal.h"
#include "clock_internal.h"
/****************************************************************************

View File

@ -42,7 +42,7 @@
#include <sched.h>
#include "os_internal.h"
#include "sig_internal.h"
#include "signal/signal.h"
/************************************************************************
* Definitions

View File

@ -1,7 +1,7 @@
/****************************************************************************
* sched/sig_internal.h
* sched/signal/signal.h
*
* Copyright (C) 2007-2009, 2013 Gregory Nutt. All rights reserved.
* Copyright (C) 2007-2009, 2013-2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@ -33,8 +33,8 @@
*
****************************************************************************/
#ifndef __SCHED_SIG_INTERNAL_H
#define __SCHED_SIG_INTERNAL_H
#ifndef __SCHED_SIGNAL_SIGNAL_H
#define __SCHED_SIGNAL_SIGNAL_H
/****************************************************************************
* Included Files
@ -198,4 +198,4 @@ void sig_releasependingsignal(FAR sigpendq_t *sigpend);
FAR sigpendq_t *sig_removependingsignal(FAR struct tcb_s *stcb, int signo);
void sig_unmaskpendingsignal(void);
#endif /* __SCHED_SIG_INTERNAL_H */
#endif /* __SCHED_SIGNAL_SIGNAL_H */

View File

@ -42,7 +42,7 @@
#include <sched.h>
#include "os_internal.h"
#ifndef CONFIG_DISABLE_SIGNALS
# include "sig_internal.h"
# include "signal/signal.h"
#endif
/****************************************************************************

View File

@ -50,7 +50,7 @@
#include "os_internal.h"
#include "group_internal.h"
#include "sig_internal.h"
#include "signal/signal.h"
/****************************************************************************
* Pre-processor Definitions

View File

@ -47,7 +47,7 @@
#include "os_internal.h"
#include "group_internal.h"
#include "sig_internal.h"
#include "signal/signal.h"
/****************************************************************************
* Definitions

View File

@ -49,7 +49,7 @@
#include "os_internal.h"
#ifndef CONFIG_DISABLE_SIGNALS
# include "sig_internal.h"
# include "signal/signal.h"
#endif
/****************************************************************************

View File

@ -46,7 +46,7 @@
#include "os_internal.h"
#include "clock_internal.h"
#include "sig_internal.h"
#include "signal/signal.h"
#include "timer_internal.h"
#ifndef CONFIG_DISABLE_POSIX_TIMERS