| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
LGTM! |
Sorry, something went wrong.
Keys need atomic relaxed loads as they can be assigned from another thread
Entries need atomic release assigns so the values they point to are seen
Reading managed dict needs acquire so that the memory of a newly created and published dictionary is visible
| Back | FazBrowse Home | New Git URL |
There's a few spots in the dict implementation where we're not using atomics to access or update the dictionary size. This updates those so that we're using relaxed atomics on them.
The dictobject.h case is a little special because we don't have the FT macros available, so it's special cased with an ifdef.