• Eric Wong's avatar
    workaround race condition on updates with broken signal blocking · cce2f93d
    Eric Wong authored
    pthreads with our existing signal blocking/handling is broken,
    for now just sleep a bit in the child to prevent the CHLD handler
    from being called too early.  Also, improve error reporting when
    handling SIGCHLD by storing the status to be called in the main
    task (which can be logged, since we can't do logging inside the
    sig handler).
    cce2f93d
directory.c 29.7 KB