Re: sched lock/unlock issue on rp2350

2025-05-06 Thread Serg Podtynnyi
s are working as expected? BR, Alan On Tue, May 6, 2025 at 11:14 AM Serg Podtynnyi wrote: Hi, I am still researching the sched problem on my config Found this macro code from last September, looks like pre vs prev typo, right? #definedq_insert_mid(pre,mid,next)\ do\ {\ mid->flink =next;\ mi

Re: sched lock/unlock issue on rp2350

2025-05-06 Thread Serg Podtynnyi
/24/25 15:06, hujun260 wrote: The lockcount can be understood as a local variable, so no race conditions will occur. 编辑 分享 At 2025-04-24 15:54:48, "Serg Podtynnyi" wrote: Hi, I tried my best to understand the logic behind unlock and merge_pending routines and come up with t

Re:Re: sched lock/unlock issue on rp2350

2025-04-24 Thread Serg Podtynnyi
s a local variable, so no race conditions >will occur. >编辑 >分享 > > > > > > > > > > > > > > > > > >At 2025-04-24 15:54:48, "Serg Podtynnyi" wrote: >>Hi, I tried my best to understand the logic behind unlock and &

Re: sched lock/unlock issue on rp2350

2025-04-24 Thread Serg Podtynnyi
nothing to do with the race condition, and since the rtcb is this_task, it will only be modified by one CPU.As for why your modification can solve the problem, I haven't figured it out yet. Can you further analyze the reasons for the failure to boot? At 2025-04-22 13:25:13, "Serg Podtynnyi&qu

sched lock/unlock issue on rp2350

2025-04-21 Thread Serg Podtynnyi
count ? PS It's almost 11 years since I last touched NuttX - it's a please to work with it again. From 86fa0a65fdd37804154faf3db52e2826281cdfbd Mon Sep 17 00:00:00 2001 From: Serg Podtynnyi Date: Tue, 22 Apr 2025 11:37:48 +0700 Subject: sched: update lock/unlock critical se