Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for typedmemclr (0.18 sec)

  1. src/runtime/mheap.go

    	s atomic.Uint8
    }
    
    // It is nosplit to match get, below.
    
    //go:nosplit
    func (b *mSpanStateBox) set(s mSpanState) {
    	b.s.Store(uint8(s))
    }
    
    // It is nosplit because it's called indirectly by typedmemclr,
    // which must not be preempted.
    
    //go:nosplit
    func (b *mSpanStateBox) get() mSpanState {
    	return mSpanState(b.s.Load())
    }
    
    // mSpanList heads a linked list of spans.
    type mSpanList struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
Back to top