mirror of
https://github.com/apache/nuttx.git
synced 2026-10-09 23:35:47 +00:00
sched/sched: Temporarily comment out some bad logic
This commit is contained in:
parent
aaf1079fa7
commit
873ffd13bc
1 changed files with 2 additions and 2 deletions
|
|
@ -79,7 +79,7 @@ FAR struct tcb_s *this_task(void)
|
|||
#else
|
||||
/* Enter a critical section */
|
||||
|
||||
flags = enter_critical_section();
|
||||
//flags = enter_critical_section();
|
||||
#endif
|
||||
|
||||
/* Obtain the TCB which is currently running on this CPU */
|
||||
|
|
@ -91,7 +91,7 @@ FAR struct tcb_s *this_task(void)
|
|||
#ifdef CONFIG_ARCH_GLOBAL_IRQDISABLE
|
||||
up_irq_restore(flags);
|
||||
#else
|
||||
leave_critical_section(flags);
|
||||
//leave_critical_section(flags);
|
||||
#endif
|
||||
return tcb;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue