Skip to content
  • Peter W. Draper's avatar
    Don't become ready before entering a waiting state. · bbabe60c
    Peter W. Draper authored
    The waiting is done by testing readiness before waiting so there
    is a window when nothing is waiting (probably near the end of the
    sort), but we are still reading other stacks, which then get marked
    as ready releasing the ready wait, so it's then just a timing game
    as to whether the waiting wait is incremented in time... 99.999999%
    of the time it is.
    bbabe60c