diff options
| author | bernard <[email protected]> | 2017-10-15 22:31:53 +0800 |
|---|---|---|
| committer | bernard <[email protected]> | 2017-10-15 22:31:53 +0800 |
| commit | b27c7e482648535760e012cd6f1afef1d800e2d2 (patch) | |
| tree | ad040fd4e7579e67ba6ee2edae468b63f2099a0e /src/components.c | |
| parent | cd215b25455bf06dfeb8885fe4d8f5b30174a8c3 (diff) | |
[Kernel] Add signal implementation.
1. Add signal implementation;
2. Change the 'rt_uint8_t' of cmd to 'int';
Diffstat (limited to 'src/components.c')
| -rw-r--r-- | src/components.c | 5 |
1 files changed, 5 insertions, 0 deletions
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(); |
