Jun 19 05:11:07 admin: [软件中心]-[ks-services-start.sh]: /koolshare/init.d/V01softok.sh...
if (syswatch_wdt_startup() != RT_EOK) { #ifdef SYSWATCH_PRINTF_INFO rt_kprintf("watch dog startup fail"); #endif return; } #ifdef SYSWATCH_PRINTF_INFO rt_kprintf("system watch startup successfully"); #endif rt_slist_init(&(sw_data.wait_resume_slist)); rt_scheduler_sethook(syswatc...
if (rt_critical_level() != 0) \ { \ rt_kprintf("Function[%s]: scheduler is not available\n", \ __FUNCTION__); \ RT_ASSERT(0) \ } 是因为这个 rt_critical_level,上面 assert_hook 。它调用了 rt_enter_critical list_thread cmb_println 三个函数,第一个就进入了临界区。这个。。。后...