Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ctrlHandler (0.18 sec)

  1. src/runtime/os_windows.go

    	}
    
    	stdcall1(_FreeEnvironmentStringsW, uintptr(strings))
    
    	// We call these all the way here, late in init, so that malloc works
    	// for the callback functions these generate.
    	var fn any = ctrlHandler
    	ctrlHandlerPC := compileCallback(*efaceOf(&fn), true)
    	stdcall2(_SetConsoleCtrlHandler, ctrlHandlerPC, 1)
    
    	monitorSuspendResume()
    }
    
    // exiting is set to non-zero when the process is exiting.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
Back to top