• Tim Wickberg's avatar
    Remove unsafe use of pthread_cancel() in slurmstepd. · a7c8964e
    Tim Wickberg authored
    These functions are not async-cancel-safe, and cannot safely be cancelled.
    This leads to potential deadlock, either between our own locks, or deep
    inside glibc when the thread held a malloc arena lock when canceled.
    
    Replace with pthread_signal to the appropriate cond to
    wake threads up at the appropriate time instead.
    
    Bug 5103.
    a7c8964e
To find the state of this project's repository at the time of any of these versions, check out the tags.