- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for hchanLeaf (0.16 sec)
-
src/runtime/mklockrank.go
# Generally, hchan must be acquired before gscan. But in one case, # where we suspend a G and then shrink its stack, syncadjustsudogs # can acquire hchan locks while holding gscan. To allow this case, # we use hchanLeaf instead of hchan. gscan < hchanLeaf; # Write barrier defer, gscan, mspanSpecial, pollCache, sudog, timer # Anything that can have write barriers can acquire WB.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:47:01 UTC 2024 - 9.1K bytes - Viewed (0)