Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix spinwaiting in LockFreeReaderHashtable (dotnet#55082)
Task.Delay(1).Wait() is variant of sync-over-async anti-patern. It does not work well with threadpool used to run parallel AOT compilation. It can lead to too many threadpool threads getting created and progress slowing down to crawl, at least temporarily.
- Loading branch information