mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-26 01:07:21 +00:00
[kernel] 将rt_thread结构体改为显式继承rt_object (#7131)
This commit is contained in:
@@ -525,7 +525,7 @@ void sys_arch_unprotect(sys_prot_t pval)
|
||||
void sys_arch_assert(const char *file, int line)
|
||||
{
|
||||
rt_kprintf("\nAssertion: %d in %s, thread %s\n",
|
||||
line, file, rt_thread_self()->name);
|
||||
line, file, rt_thread_self()->parent.name);
|
||||
RT_ASSERT(0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user