Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for schedEnableUser (0.24 sec)

  1. src/runtime/proc.go

    			print("nil")
    		}
    		print("\n")
    	})
    	unlock(&sched.lock)
    }
    
    // schedEnableUser enables or disables the scheduling of user
    // goroutines.
    //
    // This does not stop already running user goroutines, so the caller
    // should first stop the world when disabling user goroutines.
    func schedEnableUser(enable bool) {
    	lock(&sched.lock)
    	if sched.disable.user == !enable {
    		unlock(&sched.lock)
    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