diff options
author | Jan Kotas <jkotas@microsoft.com> | 2021-07-02 22:32:15 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-02 22:32:15 +0300 |
commit | e8572d3e5d23e624dac4f3744c745885a6d3addb (patch) | |
tree | 00e9b41f298c32cb7dd8391573f77885f3d063e3 /src/coreclr/inc | |
parent | 96ef64d2ed65fb46d394f52d1e50d7a94c6bca71 (diff) |
Fix spinwaiting in LockFreeReaderHashtable (#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.
Diffstat (limited to 'src/coreclr/inc')
0 files changed, 0 insertions, 0 deletions