hujun260 commented on code in PR #14578:
URL: https://github.com/apache/nuttx/pull/14578#discussion_r1856125741


##########
sched/sched/sched_unlock.c:
##########
@@ -40,278 +40,160 @@
  * Public Functions
  ****************************************************************************/
 
-/****************************************************************************
- * Name:  sched_unlock
- *
- * Description:
- *   This function decrements the preemption lock count.  Typically this
- *   is paired with sched_lock() and concludes a critical section of
- *   code.  Preemption will not be unlocked until sched_unlock() has
- *   been called as many times as sched_lock().  When the lockcount is
- *   decremented to zero, any tasks that were eligible to preempt the
- *   current task will execute.
- *
- ****************************************************************************/
-
-#ifdef CONFIG_SMP
-
-int sched_unlock(void)
+static inline_function void sched_reschedule_wo_note(FAR struct tcb_s *tcb)

Review Comment:
   done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to