News for hackers. Stuff that matters.
Re:A flexible, lightweight, spin-lock barrier by atq2119 on Tuesday March 15, 2022 @04:36PM (#30691264)
Your spin loop could easily miss the time during which *b == 0. The article explains that. A separate phase bit is required.
Re:A flexible, lightweight, spin-lock barrier by gpderetta on Tuesday March 15, 2022 @04:43PM (#30691384)
Yes. I see it now.