Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for sysAllocOS (0.28 sec)

  1. src/runtime/debuglog.go

    				l = l1
    				break
    			}
    		}
    	}
    
    	// If that failed, allocate a new logger.
    	if l == nil {
    		// Use sysAllocOS instead of sysAlloc because we want to interfere
    		// with the runtime as little as possible, and sysAlloc updates accounting.
    		l = (*dlogger)(sysAllocOS(unsafe.Sizeof(dlogger{})))
    		if l == nil {
    			throw("failed to allocate debug log")
    		}
    		l.w.r.data = &l.w.data
    		l.owned.Store(1)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 18.3K bytes
    - Viewed (0)
Back to top