• Xavier Thompson's avatar
    Destroy forks with stolen continuations sooner · 673cea98
    Xavier Thompson authored
    Previously when forked tasks didn't finish synchronously, they were
    added to a list of children tasks and destroyed at the next sync.
    
    But this meant that in the case of an infinite loop spawning new forks,
    such memory could grow unboundedly and never be reclaimed.
    
    Fixing this also required changing how exceptions in forks are propagated.
    673cea98
join.hpp 3.86 KB