Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestPipeIOCloseRace (0.33 sec)

  1. src/os/os_test.go

    	})
    	if allocs != 0 {
    		t.Errorf("expected 0 allocs for File.WriteString, got %v", allocs)
    	}
    }
    
    // Test that it's OK to have parallel I/O and Close on a pipe.
    func TestPipeIOCloseRace(t *testing.T) {
    	// Skip on wasm, which doesn't have pipes.
    	if runtime.GOOS == "js" || runtime.GOOS == "wasip1" {
    		t.Skipf("skipping on %s: no pipes", runtime.GOOS)
    	}
    	t.Parallel()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
Back to top