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#L925: 	for gcDebugMarkDone.spinAfterRaggedBarrier.Load() {
		mgclimit.go#L91: 	return l.enabled.Load()
		mgcmark.go#L1181: 		for !(gp.preempt && (preemptible || sched.gcwaiting.Load() || pp.runSafePointFn != 0)) {
		mgcmark.go#L1203: 	for !(gp.preempt && (preemptible || sched.gcwaiting.Load() || pp.runSafePointFn != 0)) {
		os_linux.go#L609: 	if mp.profileTimerValid.Load() {
		os_linux.go#L631: 	if mp.profileTimerValid.Load() {
		proc.go#L344: 		if forcegc.idle.Load() {
		proc.go#L1655: 	if freezing.Load() {
		proc.go#L1704: 	if sched.sysmonwait.Load() {
		proc.go#L3078: 	if sched.gcwaiting.Load() {
		proc.go#L3219: 	if !sched.gcwaiting.Load() {
		proc.go#L3301: 	if sched.gcwaiting.Load() {
		proc.go#L3476: 	if sched.gcwaiting.Load() || pp.runSafePointFn != 0 {
		proc.go#L3707: 			if sched.gcwaiting.Load() {
		proc.go#L4040: 	if debug.dontfreezetheworld > 0 && freezing.Load() {
		proc.go#L4507: 	if sched.sysmonwait.Load() {
		proc.go#L4524: 	if sched.gcwaiting.Load() {
		proc.go#L4557: 	if sched.sysmonwait.Load() {
		proc.go#L4830: 	if pp != nil && sched.sysmonwait.Load() {
		proc.go#L4878: 	} else if sched.sysmonwait.Load() {
		proc.go#L6147: 		if debug.schedtrace <= 0 && (sched.gcwaiting.Load() || sched.npidle.Load() == gomaxprocs) {
		proc.go#L6149: 			if sched.gcwaiting.Load() || sched.npidle.Load() == gomaxprocs {
		proc.go#L6241: 		if t := (gcTrigger{kind: gcTriggerTime, now: now}); t.test() && forcegc.idle.Load() {
		proc.go#L6409: 		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#L1162: 	if gp.parkingOnChan.Load() {
		trace.go#L847: 			if trace.shutdown.Load() {
		trace.go#L938: 	if trace.flushedGen.Load() == trace.readerGen.Load() || trace.workAvailable.Load() || trace.shutdown.Load() {
		tracebuf.go#L362: 	if !trace.workAvailable.Load() {
		traceregion.go#L48: 	if a.dropping.Load() {
		traceruntime.go#L163: 	return trace.shutdown.Load()