| 669 | } |
| 670 | |
| 671 | int rt_system_signal_init(void) |
| 672 | { |
| 673 | _siginfo_pool = rt_mp_create("signal", RT_SIG_INFO_MAX, sizeof(struct siginfo_node)); |
| 674 | if (_siginfo_pool == RT_NULL) |
| 675 | { |
| 676 | LOG_E("create memory pool for signal info failed."); |
| 677 | RT_ASSERT(0); |
| 678 | } |
| 679 | |
| 680 | return 0; |
| 681 | } |
| 682 | |
| 683 | #endif /* RT_USING_SIGNALS */ |
no test coverage detected