mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-21 10:36:04 +08:00
[kernel] 将rt_thread结构体改为显式继承rt_object (#7131)
This commit is contained in:
@@ -147,7 +147,7 @@ static DWORD WINAPI thread_run( LPVOID lpThreadParameter )
|
||||
rt_thread_t tid = rt_thread_self();
|
||||
win_thread_t *pWinThread = (win_thread_t *)lpThreadParameter;
|
||||
|
||||
SetThreadName(GetCurrentThreadId(), tid->name);
|
||||
SetThreadName(GetCurrentThreadId(), tid->parent.name);
|
||||
|
||||
pWinThread->Entry(pWinThread->Param);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user