From b27c7e482648535760e012cd6f1afef1d800e2d2 Mon Sep 17 00:00:00 2001 From: bernard Date: Sun, 15 Oct 2017 22:31:53 +0800 Subject: [Kernel] Add signal implementation. 1. Add signal implementation; 2. Change the 'rt_uint8_t' of cmd to 'int'; --- src/components.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/components.c') diff --git a/src/components.c b/src/components.c index 13a3822ed3..d4982b13c9 100644 --- a/src/components.c +++ b/src/components.c @@ -237,6 +237,11 @@ int rtthread_startup(void) /* scheduler system initialization */ rt_system_scheduler_init(); +#ifdef RT_USING_SIGNALS + /* signal system initialization */ + rt_system_signal_init(); +#endif + /* create init_thread */ rt_application_init(); -- cgit v1.3.1