Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for safe_point (0.49 sec)

  1. src/runtime/proc.go

    func forEachP(reason waitReason, fn func(*p)) {
    	systemstack(func() {
    		gp := getg().m.curg
    		// Mark the user stack as preemptible so that it may be scanned.
    		// Otherwise, our attempt to force all P's to a safepoint could
    		// result in a deadlock as we attempt to preempt a worker that's
    		// trying to preempt us (e.g. for a stack scan).
    		//
    		// N.B. The execution tracer is not aware of this status
    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