Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for setMarked (0.23 sec)

  1. src/runtime/mbitmap.go

    }
    
    // isMarked reports whether mark bit m is set.
    func (m markBits) isMarked() bool {
    	return *m.bytep&m.mask != 0
    }
    
    // setMarked sets the marked bit in the markbits, atomically.
    func (m markBits) setMarked() {
    	// Might be racing with other updates, so use atomic update always.
    	// We used to be clever here and use a non-atomic update in certain
    	// cases, but it's not worth the risk.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
Back to top