Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/runtime/proc.go

    	}
    
    	gp := getg()
    	if gp.m.p != 0 && gp.m.p.ptr().id < nprocs {
    		// continue to use the current P
    		gp.m.p.ptr().status = _Prunning
    		gp.m.p.ptr().mcache.prepareForSweep()
    	} else {
    		// release the current P and acquire allp[0].
    		//
    		// We must do this before destroying our current P
    		// because p.destroy itself has write barriers, so we
    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