Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCallbackGC (0.1 sec)

  1. src/runtime/syscall_windows_test.go

    }
    
    func TestCallback(t *testing.T) {
    	var x = false
    	nestedCall(t, func() { x = true })
    	if !x {
    		t.Fatal("nestedCall did not call func")
    	}
    }
    
    func TestCallbackGC(t *testing.T) {
    	nestedCall(t, runtime.GC)
    }
    
    func TestCallbackPanicLocked(t *testing.T) {
    	runtime.LockOSThread()
    	defer runtime.UnlockOSThread()
    
    	if !runtime.LockedOSThread() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 31 16:31:35 UTC 2023
    - 32.5K bytes
    - Viewed (0)
Back to top