func internal/runtime/atomic.Load
40 uses
internal/runtime/atomic (current package)
atomic_amd64.go#L17: func Load(ptr *uint32) uint32 {
types.go#L194: return Load(&u.value)
runtime
chan.go#L559: if atomic.Load(&c.closed) == 0 {
lock_futex.go#L45: for atomic.Load(key32(&n.key)) == 0 {
lock_futex.go#L68: for atomic.Load(key32(&n.key)) == 0 {
lock_futex.go#L79: if atomic.Load(key32(&n.key)) != 0 {
lock_futex.go#L94: if atomic.Load(key32(&n.key)) != 0 {
lock_futex.go#L103: return atomic.Load(key32(&n.key)) != 0
lock_futex.go#L142: for v := atomic.Xadd(&mp.waitsema, -1); ; v = atomic.Load(&mp.waitsema) {
mem_linux.go#L50: advise := atomic.Load(&adviseUnused)
metrics.go#L835: h := atomic.Load(&p.runqhead)
metrics.go#L836: t := atomic.Load(&p.runqtail)
metrics.go#L839: if atomic.Load(&p.runqhead) != h || runnable < 0 {
mgcmark.go#L240: cnt := uintptr(atomic.Load(&fb.cnt))
mgcmark.go#L253: n := uintptr(atomic.Load(&cb.n))
mgcmark.go#L716: if atomic.Load(&gcBlackenEnabled) == 0 {
mgcmark.go#L800: if atomic.Load(&gcBlackenEnabled) == 0 {
mgcsweep.go#L64: return sweepClass(atomic.Load((*uint32)(s)))
mgcsweep.go#L347: if atomic.Load(&s.sweepgen) != l.sweepGen-2 {
mgcsweep.go#L492: spangen := atomic.Load(&s.sweepgen)
proc.go#L2181: if atomic.Load(&p2.runSafePointFn) != 1 {
proc.go#L3948: if atomic.Load(&gcBlackenEnabled) == 0 || !gcController.needIdleMarkWorker() {
proc.go#L5624: if atomic.Load(&newmHandoff.haveTemplateThread) == 0 && GOOS != "plan9" {
proc.go#L6648: if pp == nil || atomic.Load(&pp.status) != _Prunning {
proc.go#L6914: h := atomic.Load(&pp.runqhead)
proc.go#L6915: t := atomic.Load(&pp.runqtail)
proc.go#L7319: return (atomic.Load(&p[word]) & mask) != 0
proc.go#L7339: if atomic.Load(&p[i]) != 0 {
proc.go#L7453: head := atomic.Load(&pp.runqhead)
proc.go#L7454: tail := atomic.Load(&pp.runqtail)
proc.go#L7456: if tail == atomic.Load(&pp.runqtail) {
runtime1.go#L40: t := atomic.Load(&traceback_cache)
sema.go#L293: v := atomic.Load(addr)
sema.go#L634: if l.wait.Load() == atomic.Load(&l.notify) {
sema.go#L671: if l.wait.Load() == atomic.Load(&l.notify) {
signal_unix.go#L270: if atomic.Load(&handlingSig[i]) != 0 {
signal_unix.go#L745: if sig == _SIGSYS && c.sigFromSeccomp() && atomic.Load(&sigsysIgnored) != 0 {
signal_unix.go#L1176: if atomic.Load(&handlingSig[sig]) == 0 || !signalsOK {
sigqueue.go#L80: if w := atomic.Load(&sig.wanted[s/32]); w&bit == 0 {
sigqueue.go#L273: i := atomic.Load(&sig.ignored[s/32])
![]() |
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. |