type sync.Mutex
109 uses
sync (current package)
mutex.go#L30: type Mutex struct {
mutex.go#L45: func (m *Mutex) Lock() {
mutex.go#L54: func (m *Mutex) TryLock() bool {
mutex.go#L64: func (m *Mutex) Unlock() {
once.go#L29: m Mutex
pool.go#L284: allPoolsMu Mutex
rwmutex.go#L40: w Mutex // held if there are pending writers
context
context.go#L434: mu sync.Mutex // protects following fields
crypto/tls
common.go#L1607: var writerMutex sync.Mutex
common.go#L1663: sync.Mutex
conn.go#L40: handshakeMutex sync.Mutex
conn.go#L170: sync.Mutex
github.com/coder/websocket
conn.go#L76: closeReadMu sync.Mutex
conn.go#L81: closeMu sync.Mutex // Protects following.
conn.go#L85: activePingsMu sync.Mutex
github.com/gotd/neo
net.go#L28: closedMux sync.Mutex
net.go#L31: mux sync.Mutex
time.go#L37: mux sync.Mutex
github.com/gotd/td/mtproto
conn.go#L88: reqMux sync.Mutex
conn.go#L99: pingMux sync.Mutex
github.com/gotd/td/mtproto/salts
salts.go#L16: saltsMux sync.Mutex
github.com/gotd/td/mtproxy/faketls
faketls.go#L24: readBufMux sync.Mutex
github.com/gotd/td/pool
pool.go#L40: mu sync.Mutex
req_map.go#L13: mux sync.Mutex
github.com/gotd/td/proto
message_id.go#L130: mux sync.Mutex
message_id.go#L172: mux sync.Mutex
github.com/gotd/td/rpc
engine.go#L21: mux sync.Mutex
github.com/gotd/td/session
storage_file.go#L15: mux sync.Mutex
github.com/gotd/td/syncio
reader.go#L11: mux sync.Mutex
writer_at.go#L13: mux sync.Mutex
github.com/gotd/td/tdsync
backoff.go#L12: mux sync.Mutex
reset_ready.go#L8: lock sync.Mutex
github.com/gotd/td/telegram
cdn_pool_manager.go#L54: mux sync.Mutex
client.go#L104: connMux sync.Mutex
client.go#L111: subConnsMux sync.Mutex
client.go#L118: sessionsMux sync.Mutex
client.go#L126: cdnKeysMux sync.Mutex
github.com/gotd/td/telegram/downloader
cdn.go#L35: refreshMux sync.Mutex
cdn.go#L37: clientMux sync.Mutex
cdn.go#L42: windowsMux sync.Mutex
reader.go#L31: offsetMux sync.Mutex
verifier.go#L26: mux sync.Mutex
github.com/gotd/td/telegram/internal/manager
conn.go#L78: mux sync.Mutex
github.com/gotd/td/transport
connection.go#L28: readMux sync.Mutex
connection.go#L29: writeMux sync.Mutex
github.com/klauspost/compress/zstd
simple_go124.go#L15: var weakMu sync.Mutex
zip.go#L56: mu sync.Mutex // guards Close and Read
zip.go#L89: mu sync.Mutex // guards Close and Read
github.com/refraction-networking/utls
common.go#L1599: var writerMutex sync.Mutex
common.go#L1650: sync.Mutex
conn.go#L39: handshakeMutex sync.Mutex
conn.go#L173: sync.Mutex
u_prng.go#L70: randomStreamMutex sync.Mutex
u_roller.go#L11: HelloIDMu sync.Mutex
go.opentelemetry.io/otel/trace
auto.go#L171: mu sync.Mutex
golang.org/x/sync/singleflight
singleflight.go#L74: mu sync.Mutex // protects m
image
format.go#L27: formatsMu sync.Mutex
internal/bisect
bisect.go#L742: mu sync.Mutex
internal/godebug
godebug.go#L228: var updateMu sync.Mutex
internal/singleflight
singleflight.go#L30: mu sync.Mutex // protects m
internal/testlog
exit.go#L27: mu sync.Mutex
io
pipe.go#L17: sync.Mutex // guards following
pipe.go#L40: wrMu sync.Mutex // Serializes Write operations
log
log.go#L58: outMu sync.Mutex
math/big
natconv.go#L486: sync.Mutex
math/rand
rand.go#L359: mu sync.Mutex
rand.go#L511: lk sync.Mutex
mime
type.go#L21: extensionsMu sync.Mutex // Guards stores (but not loads) on extensions.
net
hosts.go#L33: sync.Mutex
nss.go#L29: mu sync.Mutex // protects nssConf
pipe.go#L16: mu sync.Mutex // Guards timer and cancel
pipe.go#L88: wrMu sync.Mutex // Serialize Write operations
net/http
clientconn.go#L24: stateHookMu sync.Mutex
h2_bundle.go#L766: mu sync.Mutex // TODO: maybe switch to RWMutex
h2_bundle.go#L3869: mu sync.Mutex
h2_bundle.go#L4069: http2testHookOnPanicMu *sync.Mutex // nil except in tests
h2_bundle.go#L4164: mu sync.Mutex
h2_bundle.go#L6600: closeNotifierMu sync.Mutex // guards closeNotifierCh
h2_bundle.go#L7618: mu sync.Mutex // guards following
h2_bundle.go#L7690: wmu sync.Mutex
h2_bundle.go#L10437: mu sync.Mutex // guards zr and zerr
server.go#L302: mu sync.Mutex
server.go#L442: writeContinueMu sync.Mutex
server.go#L492: lazyCloseNotifyMu sync.Mutex
server.go#L662: mu sync.Mutex // guards following
server.go#L3083: mu sync.Mutex
server.go#L3874: mu sync.Mutex
server.go#L3994: uniqNameMu sync.Mutex
transfer.go#L818: mu sync.Mutex // guards following, and calls to Read and Close
transport.go#L98: idleMu sync.Mutex
transport.go#L104: reqMu sync.Mutex
transport.go#L107: altMu sync.Mutex // guards changing altProto only
transport.go#L110: connsPerHostMu sync.Mutex
transport.go#L530: mu sync.Mutex // guards err
transport.go#L1339: mu sync.Mutex // protects ctx, done and sending of the result
transport.go#L2148: mu sync.Mutex // guards following fields
transport.go#L3054: mu sync.Mutex // guards following 4 fields
transport.go#L3118: mu sync.Mutex // guards zr and zerr
net/textproto
pipeline.go#L29: mu sync.Mutex
pipeline.go#L73: mu sync.Mutex
os
dir_unix.go#L21: mu sync.Mutex
getwd.go#L14: sync.Mutex
root_openat.go#L25: mu sync.Mutex
reflect
type.go#L1830: sync.Mutex // Guards stores (but not loads) on m.
type.go#L1900: var funcTypesMutex sync.Mutex
type.go#L2186: sync.Mutex // Guards stores (but not loads) on m.
syscall
forkpipe2.go#L19: forkingLock sync.Mutex
syscall_unix.go#L44: sync.Mutex
unique
canonmap.go#L290: mu sync.Mutex // Protects mutation to children and any children that are entry nodes.
![]() |
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. |