| Files | Last commit | Last update |
|---|---|---|
refactor(selfdev): shorten the queue wait and pop helpers further What: - PopUntil keeps its switch; the not-ready case picks the hold result or waits for the front in one expression. - The heavy-barrier poll check moves from Wait to the start of SleepWait. - The block that hands out the yield budget after spinning moves into a new always-inline helper, YieldsAfterSpins. Why: The headers split off in the previous change were not yet tracked when the size check ran, so three functions there were still over the limits for nesting depth, length and branch count. Verification: - Size check on selfdev/concurrent: no violations. - Concurrent queue tests: 6/6 pass. - Queue benchmark: contended and burst cases unchanged within noise. Signed-off-by: fanglinxu <fanglinxu@huawei.com> | 5 days ago |