Skip to content

Commit fa1c473

Browse files
authored
[src][thread]bind cpu fixup (#8872)
bind cpu fixup
1 parent 52ebdf6 commit fa1c473

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/scheduler_mp.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -985,6 +985,8 @@ void rt_sched_remove_thread(struct rt_thread *thread)
985985

986986
/* remove thread from scheduler ready list */
987987
_sched_remove_thread_locked(thread);
988+
989+
RT_SCHED_CTX(thread).stat = RT_THREAD_SUSPEND_UNINTERRUPTIBLE;
988990
}
989991

990992
/* thread status initialization and setting up on startup */

0 commit comments

Comments
 (0)