Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/runtime/crash_cgo_test.go

    		t.Fatalf("Failed to read stack usage: %v", err)
    	}
    	if expected, got := 100<<10, stackUsage; got > expected {
    		t.Fatalf("expected < %d bytes of memory per thread, got %d", expected, got)
    	}
    }
    
    func TestSigStackSwapping(t *testing.T) {
    	switch runtime.GOOS {
    	case "plan9", "windows":
    		t.Skipf("no sigaltstack on %s", runtime.GOOS)
    	}
    	t.Parallel()
    	got := runTestProg(t, "testprogcgo", "SigStack")
    	want := "OK\n"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 16:44:47 UTC 2024
    - 22.2K bytes
    - Viewed (0)
Back to top