• James Sedgwick's avatar
    fix occasional crash in cpu pool · e3e4ab20
    James Sedgwick authored
    Summary: need to initialize threadsToStop_ and make it signed so it doesn't underflow in rare races
    
    Test Plan: cpu pool unit tests no longer crash if run a ton of times
    
    Reviewed By: davejwatson@fb.com
    
    Subscribers: fugalh, njormrod
    
    FB internal diff: D1563524
    e3e4ab20
CPUThreadPoolExecutor.h 1.87 KB