• Simon Marlow's avatar
    Fix another subtle shutdown deadlock · dddfba38
    Simon Marlow authored
    The problem occurred when a thread tries to GC during shutdown.  In
    order to GC it has to acquire all the Capabilities in the system, but
    during shutdown, some of the Capabilities have already been closed and
    can never be acquired.
Schedule.c 80 KB