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

35 uses

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

	runtime
		arena.go#L317: 	if a.defunct.Load() {
		mgc.go#L914: 	for gcDebugMarkDone.spinAfterRaggedBarrier.Load() {
		mgclimit.go#L91: 	return l.enabled.Load()
		mgcmark.go#L1183: 		for !(gp.preempt && (preemptible || sched.gcwaiting.Load() || pp.runSafePointFn != 0)) {
		mgcmark.go#L1205: 	for !(gp.preempt && (preemptible || sched.gcwaiting.Load() || pp.runSafePointFn != 0)) {
		os_linux.go#L591: 	if mp.profileTimerValid.Load() {
		os_linux.go#L613: 	if mp.profileTimerValid.Load() {
		proc.go#L333: 		if forcegc.idle.Load() {
		proc.go#L1631: 	if freezing.Load() {
		proc.go#L1677: 	if sched.sysmonwait.Load() {
		proc.go#L3036: 	if sched.gcwaiting.Load() {
		proc.go#L3177: 	if !sched.gcwaiting.Load() {
		proc.go#L3259: 	if sched.gcwaiting.Load() {
		proc.go#L3434: 	if sched.gcwaiting.Load() || pp.runSafePointFn != 0 {
		proc.go#L3665: 			if sched.gcwaiting.Load() {
		proc.go#L3998: 	if debug.dontfreezetheworld > 0 && freezing.Load() {
		proc.go#L4441: 	if sched.sysmonwait.Load() {
		proc.go#L4458: 	if sched.gcwaiting.Load() {
		proc.go#L4491: 	if sched.sysmonwait.Load() {
		proc.go#L4764: 	if pp != nil && sched.sysmonwait.Load() {
		proc.go#L4812: 	} else if sched.sysmonwait.Load() {
		proc.go#L6081: 		if debug.schedtrace <= 0 && (sched.gcwaiting.Load() || sched.npidle.Load() == gomaxprocs) {
		proc.go#L6083: 			if sched.gcwaiting.Load() || sched.npidle.Load() == gomaxprocs {
		proc.go#L6175: 		if t := (gcTrigger{kind: gcTriggerTime, now: now}); t.test() && forcegc.idle.Load() {
		proc.go#L6343: 		print(" gcwaiting=", sched.gcwaiting.Load(), " nmidlelocked=", sched.nmidlelocked, " stopwait=", sched.stopwait, " sysmonwait=", sched.sysmonwait.Load(), "\n")
		stack.go#L900: 		if newsize < old.hi-old.lo && gp.parkingOnChan.Load() {
		stack.go#L1172: 	if gp.parkingOnChan.Load() {
		trace.go#L846: 			if trace.shutdown.Load() {
		trace.go#L937: 	if trace.flushedGen.Load() == trace.readerGen.Load() || trace.workAvailable.Load() || trace.shutdown.Load() {
		tracebuf.go#L261: 	if !trace.workAvailable.Load() {
		traceregion.go#L48: 	if a.dropping.Load() {
		traceruntime.go#L159: 	return trace.shutdown.Load()