type sync.Mutex

89 uses

	sync (current package)
		map.go#L36: 	mu Mutex
		mutex.go#L34: type Mutex struct {
		mutex.go#L81: func (m *Mutex) Lock() {
		mutex.go#L98: func (m *Mutex) TryLock() bool {
		mutex.go#L117: func (m *Mutex) lockSlow() {
		mutex.go#L212: func (m *Mutex) Unlock() {
		mutex.go#L227: func (m *Mutex) unlockSlow(new int32) {
		once.go#L25: 	m    Mutex
		pool.go#L263: 	allPoolsMu Mutex
		rwmutex.go#L37: 	w           Mutex        // held if there are pending writers

	context
		context.go#L419: 	mu       sync.Mutex            // protects following fields

	crypto/rand
		rand_unix.go#L36: 	mu   sync.Mutex

	crypto/tls
		common.go#L1399: var writerMutex sync.Mutex
		common.go#L1441: 	sync.Mutex
		conn.go#L39: 	handshakeMutex sync.Mutex
		conn.go#L168: 	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/internal/mtproto
		conn.go#L82: 	reqMux              sync.Mutex
		conn.go#L93: 	pingMux sync.Mutex

	github.com/gotd/td/internal/mtproto/salts
		salts.go#L16: 	saltsMux sync.Mutex

	github.com/gotd/td/internal/mtproxy/faketls
		faketls.go#L24: 	readBufMux sync.Mutex

	github.com/gotd/td/internal/pool
		pool.go#L40: 	mu sync.Mutex
		req_map.go#L13: 	mux sync.Mutex

	github.com/gotd/td/internal/proto
		message_id.go#L130: 	mux  sync.Mutex
		message_id.go#L172: 	mux sync.Mutex

	github.com/gotd/td/internal/rpc
		engine.go#L21: 	mux sync.Mutex

	github.com/gotd/td/internal/tdsync
		backoff.go#L12: 	mux sync.Mutex
		reset_ready.go#L8: 	lock  sync.Mutex

	github.com/gotd/td/session
		storage_file.go#L15: 	mux  sync.Mutex

	github.com/gotd/td/telegram
		client.go#L88: 	connMux sync.Mutex
		client.go#L101: 	subConnsMux sync.Mutex
		client.go#L103: 	sessionsMux sync.Mutex

	github.com/gotd/td/telegram/internal/manager
		conn.go#L68: 	mux     sync.Mutex

	github.com/gotd/td/transport
		connection.go#L28: 	readMux  sync.Mutex
		connection.go#L29: 	writeMux sync.Mutex

	go.uber.org/zap
		sink.go#L59: 	mu        sync.Mutex

	go.uber.org/zap/zapcore
		buffered_write_syncer.go#L103: 	mu          sync.Mutex
		write_syncer.go#L50: 	sync.Mutex

	image
		format.go#L27: 	formatsMu     sync.Mutex

	internal/bisect
		bisect.go#L759: 	mu sync.Mutex

	internal/godebug
		godebug.go#L208: var updateMu sync.Mutex

	internal/intern
		intern.go#L64: 	mu      sync.Mutex

	internal/singleflight
		singleflight.go#L30: 	mu sync.Mutex       // protects m

	internal/testlog
		exit.go#L24: 	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#L449: 	sync.Mutex

	math/rand
		rand.go#L356: 	mu sync.Mutex
		rand.go#L499: 	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
		h2_bundle.go#L766: 	mu sync.Mutex // TODO: maybe switch to RWMutex
		h2_bundle.go#L3706: 	mu       sync.Mutex
		h2_bundle.go#L3893: 	http2testHookOnPanicMu     *sync.Mutex // nil except in tests
		h2_bundle.go#L4022: 	mu          sync.Mutex
		h2_bundle.go#L6382: 	closeNotifierMu sync.Mutex // guards closeNotifierCh
		h2_bundle.go#L7391: 	mu              sync.Mutex   // guards following
		h2_bundle.go#L7425: 	wmu  sync.Mutex
		server.go#L301: 	mu sync.Mutex
		server.go#L441: 	writeContinueMu  sync.Mutex
		server.go#L650: 	mu      sync.Mutex // guards following
		server.go#L2719: 	mu         sync.Mutex
		server.go#L3436: 	mu          sync.Mutex
		server.go#L3556: 	uniqNameMu   sync.Mutex
		transfer.go#L812: 	mu         sync.Mutex // guards following, and calls to Read and Close
		transport.go#L96: 	idleMu       sync.Mutex
		transport.go#L102: 	reqMu       sync.Mutex
		transport.go#L105: 	altMu    sync.Mutex   // guards changing altProto only
		transport.go#L108: 	connsPerHostMu   sync.Mutex
		transport.go#L469: 	mu  sync.Mutex // guards err
		transport.go#L1217: 	mu  sync.Mutex // protects pc, err, close(ready)
		transport.go#L1928: 	mu                   sync.Mutex // guards following fields
		transport.go#L2790: 	mu           sync.Mutex        // guards following 4 fields

	net/textproto
		pipeline.go#L29: 	mu       sync.Mutex
		pipeline.go#L73: 	mu   sync.Mutex

	nhooyr.io/websocket
		conn.go#L75: 	closeMu    sync.Mutex
		conn.go#L80: 	activePingsMu sync.Mutex

	os
		getwd.go#L14: 	sync.Mutex

	reflect
		type.go#L1574: 	sync.Mutex // Guards stores (but not loads) on m.
		type.go#L1717: var funcTypesMutex sync.Mutex
		type.go#L2109: 	sync.Mutex // Guards stores (but not loads) on m.

	syscall
		forkpipe2.go#L19: 	forkingLock sync.Mutex
		syscall_unix.go#L42: 	sync.Mutex