Hacker News new | ask | show | jobs
by saurik 4093 days ago
What if, instead of being killed, the thread runs arbitrarily slowly (at glacial speeds) between the two critical steps? Do other threads have to wait during that time, (Note: I haven't slept in days, not did I read the algorithm as my brain isn't working well enough to understand it, but I did seem to get the gist of this back/forth, and this seemed like an important detail.)
1 comments

Please read the algorithm in code. No threads ever wait. :-)