Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestNewOSProc0 (0.26 sec)

  1. src/runtime/norace_linux_test.go

    var newOSProcDone bool
    
    //go:nosplit
    func newOSProcCreated() {
    	newOSProcDone = true
    }
    
    // Can't be run with -race because it inserts calls into newOSProcCreated()
    // that require a valid G/M.
    func TestNewOSProc0(t *testing.T) {
    	runtime.NewOSProc0(0x800000, unsafe.Pointer(abi.FuncPCABIInternal(newOSProcCreated)))
    	check := time.NewTicker(100 * time.Millisecond)
    	defer check.Stop()
    	end := time.After(5 * time.Second)
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 915 bytes
    - Viewed (0)
Back to top