Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestClosedPipeRaceRead (0.17 sec)

  1. src/os/pipe_test.go

    	} else if pe.Err != fs.ErrClosed {
    		t.Errorf("got error %q but expected %q", pe.Err, fs.ErrClosed)
    	} else {
    		t.Logf("I/O returned expected error %q", err)
    	}
    }
    
    func TestClosedPipeRaceRead(t *testing.T) {
    	testClosedPipeRace(t, true)
    }
    
    func TestClosedPipeRaceWrite(t *testing.T) {
    	testClosedPipeRace(t, false)
    }
    
    // Issue 20915: Reading on nonblocking fd should not return "waiting
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 12.4K bytes
    - Viewed (0)
Back to top