• Michael Vincent's avatar
    gccdeps: Refactor cache lock · b3663173
    Michael Vincent authored
    Rework how gccdeps' cached_nodes lock is used so acquiring the lock is
    only necessary on a cache miss. Also use a "with" context manager to
    simplify management of the lock lifecycle.
    
    Ported from 8b5a2a20
    b3663173
gccdeps.py 7.19 KB