When adopting a thread, spin until GC isn't running. #49934
maleadt
force pushed
from
a3793f0c
to
c7cb0b07
2 years ago
maleadt
force pushed
from
c7cb0b07
to
1bd2f6a6
2 years ago
maleadt
force pushed
from
1bd2f6a6
to
c23b6927
2 years ago
maleadt
force pushed
from
74bb1389
to
248fa30d
2 years ago
maleadt
marked this pull request as draft 2 years ago
When adopting a thread, spin until GC isn't running.
2db55819
Disable GC during thread adoption.
48bfa831
Check jl_gc_disable_counter again before arming the safepoint to prev…
d682dc18
Update src/threading.c
a6475352
Update src/threading.c
dbd3f63d
Change loads of jl_gc_disable_counter to use acquire semantics.
00217b0e
Remove NOTSAFEPOINT annotation from jl_adopt_thread.
dd93d47c
Clear jl_gc_running when backing out.
71091592
Rephrase comments.
87c0015c
maleadt
force pushed
from
c2ef05e2
to
87c0015c
2 years ago
maleadt
marked this pull request as ready for review 2 years ago
maleadt
merged
4ef9fb19
into master 2 years ago
maleadt
deleted the tb/adopt_gc branch 2 years ago
Assignees
No one assigned
Labels
multithreading
bugfix
Login to write a write a comment.
Login via GitHub