Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hchanLeaf (0.16 sec)

  1. 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)
Back to top