Rt-threadSource Analysis Paper 14: rt_system_signal_init function analysis

1. rt_system_signal_init source int rt_system_signal_init(void) { _rt_siginfo_pool = rt_mp_create("signal", RT_SIG_INFO_MAX, sizeof(struct siginfo_node)); if (_rt_siginfo_pool == RT_NULL) { dbg_log(DBG_ERROR, "create memory pool for signal info failed.\n"); RT_ASSERT(0); } return 0; } 2. rt_system_signal_ ...

Added by teanza on Mon, 06 Sep 2021 19:09:59 +0300