internal/runtime/atomic.Bool.Load (method)
48 uses
internal/runtime/atomic (current package)
types.go#L167: func (b *Bool) Load() bool {
runtime
arena.go#L317: if a.defunct.Load() {
mcleanup.go#L466: if q.flushed.Load() {
mcleanup.go#L770: if q.flushed.Load() && q.full.empty() && uint32(q.sleeping.size) == q.ng.Load() {
mgc.go#L638: for work.goroutineLeak.pending.Load() {
mgc.go#L894: if work.goroutineLeak.pending.Load() {
mgc.go#L1072: for gcDebugMarkDone.spinAfterRaggedBarrier.Load() {
mgclimit.go#L91: return l.enabled.Load()
mgcmark.go#L1270: for !(gp.preempt && (preemptible || sched.gcwaiting.Load() || pp.runSafePointFn != 0)) {
mgcmark.go#L1300: for !(gp.preempt && (preemptible || sched.gcwaiting.Load() || pp.runSafePointFn != 0)) {
mgcmark_greenteagc.go#L783: if r.dead.Load() {
os_linux.go#L621: if mp.profileTimerValid.Load() {
os_linux.go#L643: if mp.profileTimerValid.Load() {
proc.go#L371: if forcegc.idle.Load() {
proc.go#L1729: if freezing.Load() {
proc.go#L1778: if sched.sysmonwait.Load() {
proc.go#L3158: if sched.gcwaiting.Load() {
proc.go#L3299: if !sched.gcwaiting.Load() {
proc.go#L3403: if sched.gcwaiting.Load() {
proc.go#L3595: if sched.gcwaiting.Load() || pp.runSafePointFn != 0 {
proc.go#L3838: if sched.gcwaiting.Load() {
proc.go#L4183: if debug.dontfreezetheworld > 0 && freezing.Load() {
proc.go#L4331: if preempted && sched.gcwaiting.Load() {
proc.go#L4682: if sched.gcwaiting.Load() {
proc.go#L4710: if sched.sysmonwait.Load() {
proc.go#L4748: if sched.sysmonwait.Load() {
proc.go#L5048: if pp != nil && sched.sysmonwait.Load() {
proc.go#L5097: } else if sched.sysmonwait.Load() {
proc.go#L6524: if debug.schedtrace <= 0 && (sched.gcwaiting.Load() || sched.npidle.Load() == gomaxprocs) {
proc.go#L6526: if sched.gcwaiting.Load() || sched.npidle.Load() == gomaxprocs {
proc.go#L6603: if t := (gcTrigger{kind: gcTriggerTime, now: now}); t.test() && forcegc.idle.Load() {
proc.go#L6908: print(" gcwaiting=", sched.gcwaiting.Load(), " nmidlelocked=", sched.nmidlelocked, " stopwait=", sched.stopwait, " sysmonwait=", sched.sysmonwait.Load(), "\n")
proc.go#L7091: if updateMaxProcsG.idle.Load() {
proc.go#L7147: if updateMaxProcsG.idle.Load() {
set_vma_name_linux.go#L18: return !prSetVMAUnsupported.Load()
stack.go#L932: if newsize < old.hi-old.lo && gp.parkingOnChan.Load() {
stack.go#L1233: if gp.parkingOnChan.Load() {
trace.go#L683: if mp.trace.writing.Load() {
trace.go#L992: if trace.shutdown.Load() {
trace.go#L1083: if trace.flushedGen.Load() == trace.readerGen.Load() || trace.workAvailable.Load() {
traceback.go#L1435: return !gp.runningCleanups.Load()
tracebuf.go#L384: if !trace.workAvailable.Load() {
tracecpu.go#L231: if !mp.trace.writing.Load() {
traceregion.go#L48: if a.dropping.Load() {
traceruntime.go#L165: return trace.shutdown.Load()
traceruntime.go#L214: if mp.trace.writing.Load() {
traceruntime.go#L695: if debugTraceReentrancy && mp.trace.writing.Load() {
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |