runtime/internal/atomic.Bool.Load (method)

28 uses

	runtime/internal/atomic (current package)
		types.go#L167: func (b *Bool) Load() bool {

	runtime
		arena.go#L305: 	if a.defunct.Load() {
		mgclimit.go#L90: 	return l.enabled.Load()
		mgcmark.go#L1064: 		for !(gp.preempt && (preemptible || sched.gcwaiting.Load())) {
		mgcmark.go#L1078: 	for !(gp.preempt && (preemptible || sched.gcwaiting.Load())) {
		os_linux.go#L616: 	if mp.profileTimerValid.Load() {
		os_linux.go#L638: 	if mp.profileTimerValid.Load() {
		proc.go#L318: 		if forcegc.idle.Load() {
		proc.go#L1418: 	if freezing.Load() {
		proc.go#L1450: 	if sched.sysmonwait.Load() {
		proc.go#L2686: 	if sched.gcwaiting.Load() {
		proc.go#L2816: 	if !sched.gcwaiting.Load() {
		proc.go#L2900: 	if sched.gcwaiting.Load() {
		proc.go#L3063: 	if sched.gcwaiting.Load() || pp.runSafePointFn != 0 {
		proc.go#L3270: 			if sched.gcwaiting.Load() {
		proc.go#L3584: 	if debug.dontfreezetheworld > 0 && freezing.Load() {
		proc.go#L4032: 	if sched.sysmonwait.Load() {
		proc.go#L4049: 	if sched.gcwaiting.Load() {
		proc.go#L4069: 	if sched.sysmonwait.Load() {
		proc.go#L4305: 	if pp != nil && sched.sysmonwait.Load() {
		proc.go#L4341: 	} else if sched.sysmonwait.Load() {
		proc.go#L5552: 		if debug.schedtrace <= 0 && (sched.gcwaiting.Load() || sched.npidle.Load() == gomaxprocs) {
		proc.go#L5554: 			if sched.gcwaiting.Load() || sched.npidle.Load() == gomaxprocs {
		proc.go#L5645: 		if t := (gcTrigger{kind: gcTriggerTime, now: now}); t.test() && forcegc.idle.Load() {
		proc.go#L5807: 		print(" gcwaiting=", sched.gcwaiting.Load(), " nmidlelocked=", sched.nmidlelocked, " stopwait=", sched.stopwait, " sysmonwait=", sched.sysmonwait.Load(), "\n")
		stack.go#L890: 		if newsize < old.hi-old.lo && gp.parkingOnChan.Load() {
		stack.go#L1157: 	return gp.syscallsp == 0 && !gp.asyncSafePoint && !gp.parkingOnChan.Load()