xiaoxiang781216 commented on code in PR #15586: URL: https://github.com/apache/nuttx/pull/15586#discussion_r1919979806
########## sched/wqueue/kwork_queue.c: ########## @@ -80,6 +79,7 @@ static void work_timer_expiry(wdparm_t arg) } spin_unlock_irqrestore(&work->wq->lock, flags); + sched_unlock(); Review Comment: yes, it need be this order. but all shced_lock like thsi will be removed after https://github.com/apache/nuttx/pull/14578 get merged. -- 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