Skip to content
Snippets Groups Projects
Unverified Commit d85a7df7 authored by Zubin's avatar Zubin
Browse files

Allow atomic update of NameCache in readHieFile

The situation arises in ghcide where multiple different threads may need to
update the name cache, therefore with the older interface it could happen
that you start reading a hie file with name cache A and produce name cache
A + B, but another thread in the meantime updated the namecache to A +
C. Therefore if you write the new namecache you will lose the A' updates
from the second thread.

Updates haddock submodule
parent b9f7c08f
No related branches found
No related tags found
No related merge requests found
Pipeline #18937 passed with warnings
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment