From 873ffd13bc7a7a26a30326802f3b9685dce87cf8 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 4 Feb 2018 18:18:26 -0600 Subject: [PATCH] sched/sched: Temporarily comment out some bad logic --- sched/sched/sched_thistask.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sched/sched/sched_thistask.c b/sched/sched/sched_thistask.c index f65aebb140..1c0584db06 100644 --- a/sched/sched/sched_thistask.c +++ b/sched/sched/sched_thistask.c @@ -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; }