Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for setMaxStack (0.12 sec)

  1. src/runtime/proc.go

    	if goarch.PtrSize == 8 {
    		maxstacksize = 1000000000
    	} else {
    		maxstacksize = 250000000
    	}
    
    	// An upper limit for max stack size. Used to avoid random crashes
    	// after calling SetMaxStack and trying to allocate a stack that is too big,
    	// since stackalloc works with 32-bit sizes.
    	maxstackceiling = 2 * maxstacksize
    
    	// Allow newproc to start new Ms.
    	mainStarted = true
    
    	if haveSysmon {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top