Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for enableWER (0.1 sec)

  1. src/runtime/nonwindows_stub.go

    var haveHighResSleep = true
    
    // osRelax is called by the scheduler when transitioning to and from
    // all Ps being idle.
    func osRelax(relax bool) {}
    
    // enableWER is called by setTraceback("wer").
    // Windows Error Reporting (WER) is only supported on Windows.
    func enableWER() {}
    
    // winlibcall is not implemented on non-Windows systems,
    // but it is used in non-OS-specific parts of the runtime.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 03:12:13 UTC 2024
    - 962 bytes
    - Viewed (0)
  2. src/runtime/runtime1.go

    		t = 2<<tracebackShift | tracebackAll
    	case "crash":
    		t = 2<<tracebackShift | tracebackAll | tracebackCrash
    	case "wer":
    		if GOOS == "windows" {
    			t = 2<<tracebackShift | tracebackAll | tracebackCrash
    			enableWER()
    			break
    		}
    		fallthrough
    	default:
    		t = tracebackAll
    		if n, ok := atoi(level); ok && n == int(uint32(n)) {
    			t |= uint32(n) << tracebackShift
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
Back to top