News for hackers. Stuff that matters.
Re:Spinning around: Please don't – Common problems with spin... by wizzwizz4 on Wednesday January 28, 2026 @03:51PM (#46801314)
I'm not sure how a spinlock solves this problem. Wouldn't that just cause the process to hang busy?
Re:Spinning around: Please don't – Common problems with spin... by direwolf20 on Wednesday January 28, 2026 @04:35PM (#46801896)
Only until the other thread leaves the logger
Re:Spinning around: Please don't – Common problems with spin... by wizzwizz4 on Wednesday January 28, 2026 @05:16PM (#46802367)
Oh, I see: the spinlock is for logging the deadlocks of other mutices, not for magically remediating deadlocks.