mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Another thread could pull enqueued records into the cache while we're waiting on the lock, leaving us with an empty queue but an updated cache. Recognize this by sticking a generation on the cache and retrying instead of failing if the generation increased while we waited. Fixes rdar://problem/18856858. Swift SVN r23091
3.2 KiB
3.2 KiB