Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for publicationBarrier (0.18 sec)

  1. src/runtime/stubs.go

    // call on the stack will cause gentraceback to stop walking the stack
    // prematurely and if there is leftover state it may panic.
    func goexit(neverCallThisFunction)
    
    // publicationBarrier performs a store/store barrier (a "publication"
    // or "export" barrier). Some form of synchronization is required
    // between initializing an object and making that object accessible to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  2. src/runtime/arena.go

    	// the caller can make ptr observable to the garbage
    	// collector. Otherwise, on weakly ordered machines,
    	// the garbage collector could follow a pointer to x,
    	// but see uninitialized memory or stale heap bits.
    	publicationBarrier()
    
    	mp.mallocing = 0
    	releasem(mp)
    
    	return ptr
    }
    
    // userArenaHeapBitsSetSliceType is the equivalent of heapBitsSetType but for
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:44:56 UTC 2024
    - 37.9K bytes
    - Viewed (0)
Back to top