mirror of
https://github.com/apache/nuttx.git
synced 2026-05-25 01:39:44 +08:00
Same important bug as c623af03a0ee8ac041fc22051781047d6cb9cc75, but in a different location
This commit is contained in:
+1
-1
Submodule arch updated: e942051057...b025eeaa21
+1
-1
Submodule configs updated: c5d86a886c...a619d39802
@@ -132,7 +132,7 @@ int sched_setscheduler(pid_t pid, int policy,
|
||||
/* Further, disable timer interrupts while we set up scheduling policy. */
|
||||
|
||||
saved_state = irqsave();
|
||||
tcb->flags &= TCB_FLAG_POLICY_MASK;
|
||||
tcb->flags &= ~TCB_FLAG_POLICY_MASK;
|
||||
switch (policy)
|
||||
{
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user