https://github.com/JuliaLang/julia
Revision a4641c8b75b93ce30b706fceed7d2af976f8e578 authored by Jameson Nash on 06 May 2020, 19:12:05 UTC, committed by GitHub on 06 May 2020, 19:12:05 UTC
Ensures that we are holding some lock (a new one) while mutating the
internal global `jl_current_modules` table.

While reading these binding values is not memory-safe to do
simultaneously (it may invent pointers from thin-air and segfault), this
commit ensures that a data conflict during the writes to them will
not corrupt the values written into memory.
1 parent c3d6a46
History
Tip revision: a4641c8b75b93ce30b706fceed7d2af976f8e578 authored by Jameson Nash on 06 May 2020, 19:12:05 UTC
threading: improve safety posture of modifying global bindings (#35761)
Tip revision: a4641c8
File Mode Size
.devcontainer
base
contrib
deps
doc
etc
src
stdlib
test
ui
.appveyor.yml -rw-r--r-- 2.1 KB
.gitattributes -rw-r--r-- 65 bytes
.gitignore -rw-r--r-- 273 bytes
.mailmap -rw-r--r-- 11.0 KB
.travis.yml -rw-r--r-- 6.1 KB
CITATION.bib -rw-r--r-- 2.6 KB
CONTRIBUTING.md -rw-r--r-- 19.9 KB
HISTORY.md -rw-r--r-- 275.6 KB
LICENSE.md -rw-r--r-- 5.0 KB
Make.inc -rw-r--r-- 44.1 KB
Makefile -rw-r--r-- 26.9 KB
NEWS.md -rw-r--r-- 16.0 KB
README.md -rw-r--r-- 6.3 KB
VERSION -rw-r--r-- 10 bytes
sysimage.mk -rw-r--r-- 3.9 KB

README.md

back to top