Skip to content

Commit ac4527b

Browse files
authored
Update thread.c
1 parent 12efa02 commit ac4527b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/thread.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -975,6 +975,7 @@ rt_err_t rt_thread_suspend_to_list(rt_thread_t thread, rt_list_t *susp_list, int
975975

976976
if (stat == RT_THREAD_RUNNING)
977977
{
978+
/* not suspend running status thread on other core */
978979
RT_ASSERT(thread == rt_thread_self());
979980
}
980981

0 commit comments

Comments
 (0)