Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for publicationBarrier (5.53 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/asm_arm.s

    // On earlier ARM revisions, armPublicationBarrier is a no-op.
    // This will not work on SMP ARMv6 machines, if any are in use.
    // To implement publicationBarrier in sys_$GOOS_arm.s using the native
    // instructions, use:
    //
    //	TEXT ·publicationBarrier(SB),NOSPLIT|NOFRAME,$0-0
    //		B	runtime·armPublicationBarrier(SB)
    //
    TEXT runtime·armPublicationBarrier(SB),NOSPLIT|NOFRAME,$0-0
    	MOVB	runtime·goarm(SB), R11
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:00:52 UTC 2024
    - 32.1K bytes
    - Viewed (0)
  3. 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)
  4. src/runtime/asm_386.s

    CALLFN(·call536870912, 536870912)
    CALLFN(·call1073741824, 1073741824)
    
    TEXT runtime·procyield(SB),NOSPLIT,$0-0
    	MOVL	cycles+0(FP), AX
    again:
    	PAUSE
    	SUBL	$1, AX
    	JNZ	again
    	RET
    
    TEXT ·publicationBarrier(SB),NOSPLIT,$0-0
    	// Stores are already ordered on x86, so this is just a
    	// compile barrier.
    	RET
    
    // Save state of caller into g->sched,
    // but using fake PC from systemstack_switch.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 15:45:13 UTC 2024
    - 43.1K bytes
    - Viewed (0)
Back to top