MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / rt_system_signal_init

Function rt_system_signal_init

src/signal.c:671–681  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

669}
670
671int 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 */

Callers 2

rtthread_startupFunction · 0.85
rtthread_startupFunction · 0.85

Calls 1

rt_mp_createFunction · 0.85

Tested by

no test coverage detected