• Michael Vincent's avatar
    gccdeps: Refactor cache lock · b3663173
    Michael Vincent authored and ita1024's avatar ita1024 committed
    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