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

40 uses

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

	runtime
		arena.go#L317: 	if a.defunct.Load() {
		mcleanup.go#L383: 		if q.flushed.Load() {
		mcleanup.go#L691: 		if q.flushed.Load() && q.full.empty() && uint32(q.sleeping.size) == q.ng.Load() {
		mgc.go#L943: 	for gcDebugMarkDone.spinAfterRaggedBarrier.Load() {
		mgclimit.go#L91: 	return l.enabled.Load()
		mgcmark.go#L1201: 		for !(gp.preempt && (preemptible || sched.gcwaiting.Load() || pp.runSafePointFn != 0)) {
		mgcmark.go#L1231: 	for !(gp.preempt && (preemptible || sched.gcwaiting.Load() || pp.runSafePointFn != 0)) {
		os_linux.go#L611: 	if mp.profileTimerValid.Load() {
		os_linux.go#L633: 	if mp.profileTimerValid.Load() {
		proc.go#L369: 		if forcegc.idle.Load() {
		proc.go#L1732: 	if freezing.Load() {
		proc.go#L1781: 	if sched.sysmonwait.Load() {
		proc.go#L3163: 	if sched.gcwaiting.Load() {
		proc.go#L3304: 	if !sched.gcwaiting.Load() {
		proc.go#L3391: 	if sched.gcwaiting.Load() {
		proc.go#L3583: 	if sched.gcwaiting.Load() || pp.runSafePointFn != 0 {
		proc.go#L3826: 			if sched.gcwaiting.Load() {
		proc.go#L4159: 	if debug.dontfreezetheworld > 0 && freezing.Load() {
		proc.go#L4624: 	if sched.sysmonwait.Load() {
		proc.go#L4641: 	if sched.gcwaiting.Load() {
		proc.go#L4674: 	if sched.sysmonwait.Load() {
		proc.go#L4947: 	if pp != nil && sched.sysmonwait.Load() {
		proc.go#L4995: 	} else if sched.sysmonwait.Load() {
		proc.go#L6266: 		if debug.schedtrace <= 0 && (sched.gcwaiting.Load() || sched.npidle.Load() == gomaxprocs) {
		proc.go#L6268: 			if sched.gcwaiting.Load() || sched.npidle.Load() == gomaxprocs {
		proc.go#L6365: 		if t := (gcTrigger{kind: gcTriggerTime, now: now}); t.test() && forcegc.idle.Load() {
		proc.go#L6533: 		print(" gcwaiting=", sched.gcwaiting.Load(), " nmidlelocked=", sched.nmidlelocked, " stopwait=", sched.stopwait, " sysmonwait=", sched.sysmonwait.Load(), "\n")
		proc.go#L6716: 		if updateMaxProcsG.idle.Load() {
		proc.go#L6772: 	if updateMaxProcsG.idle.Load() {
		set_vma_name_linux.go#L18: 	return !prSetVMAUnsupported.Load()
		stack.go#L931: 		if newsize < old.hi-old.lo && gp.parkingOnChan.Load() {
		stack.go#L1214: 	if gp.parkingOnChan.Load() {
		trace.go#L880: 			if trace.shutdown.Load() {
		trace.go#L971: 	if trace.flushedGen.Load() == trace.readerGen.Load() || trace.workAvailable.Load() {
		traceback.go#L1394: 		return !gp.runningCleanups.Load()
		tracebuf.go#L384: 	if !trace.workAvailable.Load() {
		traceregion.go#L48: 	if a.dropping.Load() {
		traceruntime.go#L164: 	return trace.shutdown.Load()