News for hackers. Stuff that matters.
Re:The Unscalable, Deadlock-Prone, Thread Pool by jayd16 on Wednesday February 27, 2019 @04:24AM (#19262066)
So does it boil down to "grab all your locks upfront, if you can't then yield them all back"?
Re:The Unscalable, Deadlock-Prone, Thread Pool by dkarl on Wednesday February 27, 2019 @10:12AM (#19263680)
Pretty much, plus if you're even running, you have high confidence that lock acquisition will succeed, because the entity that gave you a thread to run on has checked that all the resources you need are available.