Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for createstack (0.15 sec)

  1. src/runtime/proc.go

    func mcommoninit(mp *m, id int64) {
    	gp := getg()
    
    	// g0 stack won't make sense for user (and is not necessary unwindable).
    	if gp != gp.m.g0 {
    		callers(1, mp.createstack[:])
    	}
    
    	lock(&sched.lock)
    
    	if id >= 0 {
    		mp.id = id
    	} else {
    		mp.id = mReserveID()
    	}
    
    	mrandinit(mp)
    
    	mpreinit(mp)
    	if mp.gsignal != nil {
    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