type sync.Mutex

151 uses

	sync (current package)
		map.go#L28: 	mu Mutex
		mutex.go#L25: type Mutex struct {
		mutex.go#L72: func (m *Mutex) Lock() {
		mutex.go#L89: func (m *Mutex) TryLock() bool {
		mutex.go#L108: func (m *Mutex) lockSlow() {
		mutex.go#L203: func (m *Mutex) Unlock() {
		mutex.go#L218: func (m *Mutex) unlockSlow(new int32) {
		once.go#L21: 	m    Mutex
		pool.go#L260: 	allPoolsMu Mutex
		rwmutex.go#L29: 	w           Mutex  // held if there are pending writers

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

	crypto/rand
		rand_unix.go#L42: 	mu   sync.Mutex
		rand_unix.go#L116: 	mu                   sync.Mutex

	crypto/tls
		common.go#L1347: var writerMutex sync.Mutex
		common.go#L1389: 	sync.Mutex
		conn.go#L38: 	handshakeMutex sync.Mutex
		conn.go#L164: 	sync.Mutex

	database/sql
		sql.go#L467: 	mu           sync.Mutex    // protects following fields
		sql.go#L514: 	sync.Mutex  // guards following
		sql.go#L2173: 		sync.Mutex
		sql.go#L2602: 	mu     sync.Mutex // protects the rest of the fields

	github.com/aws/aws-sdk-go-v2/aws/ratelimit
		token_bucket.go#L13: 	mu              sync.Mutex

	github.com/aws/aws-sdk-go-v2/aws/retry
		adaptive_ratelimit.go#L31: 	mu sync.Mutex
		adaptive_token_bucket.go#L14: 	mu              sync.Mutex

	github.com/aws/aws-sdk-go-v2/internal/sync/singleflight
		singleflight.go#L67: 	mu sync.Mutex       // protects m

	github.com/aws/aws-sdk-go-v2/internal/v4a
		credentials.go#L47: 	m          sync.Mutex

	github.com/aws/smithy-go/internal/sync/singleflight
		singleflight.go#L67: 	mu sync.Mutex       // protects m

	github.com/aws/smithy-go/transport/http/internal/io
		safe.go#L48: 	mtx        sync.Mutex

	github.com/go-pg/migrations/v8
		collection.go#L42: 	mu          sync.Mutex

	github.com/go-pg/pg/v10
		listener.go#L37: 	mu     sync.Mutex
		tx.go#L33: 	stmtsMu sync.Mutex

	github.com/go-pg/pg/v10/internal/pool
		pool.go#L79: 	connsMu   sync.Mutex

	github.com/go-pg/pg/v10/orm
		query.go#L887: 	var mu sync.Mutex
		query.go#L931: 	var mu sync.Mutex

	github.com/golang/mock/gomock
		controller.go#L117: 	mu            sync.Mutex

	github.com/robfig/cron/v3
		chain.go#L63: 		var mu sync.Mutex
		cron.go#L22: 	runningMu sync.Mutex
		cron.go#L122: 		runningMu: sync.Mutex{},

	go.pact.im/x/clock
		ticker.go#L62: 	mu sync.Mutex

	go.pact.im/x/clock/fakeclock
		fakeclock.go#L39: 	mu    sync.Mutex

	go.pact.im/x/clock/observeclock
		observeclock.go#L27: 	mu sync.Mutex

	go.pact.im/x/names/monikernames
		monikernames.go#L37: 	mu sync.Mutex

	go.pact.im/x/process
		process.go#L52: 	stateMu 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

	go/constant
		value.go#L93: 		mu   sync.Mutex

	go/token
		position.go#L106: 	mutex sync.Mutex

	go/types
		context.go#L22: 	mu        sync.Mutex

	golang.org/x/net/http2
		client_conn_pool.go#L45: 	mu sync.Mutex // TODO: maybe switch to RWMutex
		pipe.go#L17: 	mu       sync.Mutex
		server.go#L81: 	testHookOnPanicMu     *sync.Mutex // nil except in tests
		server.go#L210: 	mu          sync.Mutex
		server.go#L2500: 	closeNotifierMu sync.Mutex // guards closeNotifierCh
		transport.go#L307: 	mu              sync.Mutex // guards following
		transport.go#L341: 	wmu  sync.Mutex

	golang.org/x/sys/unix
		syscall_unix.go#L100: 	sync.Mutex

	golang.org/x/tools/go/packages
		packages.go#L554: 	parseCacheMu sync.Mutex
		packages.go#L555: 	exportMu     sync.Mutex // enforces mutual exclusion of exportdata operations

	golang.org/x/tools/internal/tokeninternal
		tokeninternal.go#L31: 		mu    sync.Mutex // we're not complete monsters

	google.golang.org/grpc
		balancer_conn_wrappers.go#L365: 	mu        sync.Mutex
		clientconn.go#L399: 	mu         sync.Mutex
		clientconn.go#L499: 	lceMu               sync.Mutex // protects lastConnectionError
		clientconn.go#L1086: 	mu      sync.Mutex
		clientconn.go#L1483: 	mu     sync.Mutex
		picker_wrapper.go#L37: 	mu         sync.Mutex
		resolver_conn_wrapper.go#L38: 	resolverMu sync.Mutex
		resolver_conn_wrapper.go#L43: 	incomingMu sync.Mutex // Synchronizes all the incoming calls.
		server.go#L128: 	mu  sync.Mutex // guards following
		stream.go#L528: 	mu                      sync.Mutex
		stream.go#L563: 	mu sync.Mutex // guards trInfo.tr
		stream.go#L1290: 	mu        sync.Mutex
		stream.go#L1529: 	mu sync.Mutex // protects trInfo.tr after the service handler runs.
		trace.go#L57: 	mu         sync.Mutex

	google.golang.org/grpc/internal/balancer/gracefulswitch
		gracefulswitch.go#L59: 	mu              sync.Mutex
		gracefulswitch.go#L69: 	currentMu sync.Mutex

	google.golang.org/grpc/internal/binarylog
		sink.go#L89: 	mu             sync.Mutex

	google.golang.org/grpc/internal/buffer
		unbounded.go#L38: 	mu      sync.Mutex

	google.golang.org/grpc/internal/channelz
		types.go#L633: 	mu          sync.Mutex

	google.golang.org/grpc/internal/grpcrand
		grpcrand.go#L31: 	mu sync.Mutex

	google.golang.org/grpc/internal/transport
		bdp_estimator.go#L53: 	mu sync.Mutex
		controlbuf.go#L298: 	mu              sync.Mutex
		flowcontrol.go#L123: 	mu sync.Mutex
		handler_server.go#L145: 	writeStatusMu sync.Mutex
		http2_client.go#L117: 	mu            sync.Mutex // guard the following variables
		http2_server.go#L104: 	mu sync.Mutex // guard the following
		http2_server.go#L130: 	maxStreamMu sync.Mutex
		transport.go#L92: 	mu      sync.Mutex
		transport.go#L272: 	hdrMu sync.Mutex

	google.golang.org/protobuf/internal/filedesc
		desc.go#L42: 		mu   sync.Mutex // protects L2

	google.golang.org/protobuf/internal/impl
		checkinit.go#L86: 	needsInitCheckMu  sync.Mutex
		codec_extension.go#L74: 	mu         sync.Mutex
		extension.go#L36: 	mu   sync.Mutex
		legacy_message.go#L156: 	aberrantMessageDescLock  sync.Mutex
		message.go#L40: 	initMu   sync.Mutex // protects all unexported fields

	google.golang.org/protobuf/internal/pragma
		pragma.go#L29: type DoNotCopy [0]sync.Mutex

	html/template
		template.go#L38: 	mu      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#L54: 	mu        sync.Mutex // ensures atomic writes; protects the following fields

	math/big
		natconv.go#L450: 	sync.Mutex

	math/rand
		rand.go#L383: 	lk  sync.Mutex

	mime
		type.go#L21: 	extensionsMu sync.Mutex // Guards stores (but not loads) on extensions.

	net
		hosts.go#L33: 	sync.Mutex
		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#L3604: 	mu       sync.Mutex
		h2_bundle.go#L3795: 	http2testHookOnPanicMu     *sync.Mutex // nil except in tests
		h2_bundle.go#L3897: 	mu          sync.Mutex
		h2_bundle.go#L6111: 	closeNotifierMu sync.Mutex // guards closeNotifierCh
		h2_bundle.go#L6978: 	mu              sync.Mutex // guards following
		h2_bundle.go#L7011: 	wmu  sync.Mutex
		server.go#L296: 	mu sync.Mutex
		server.go#L436: 	writeContinueMu  sync.Mutex
		server.go#L639: 	mu      sync.Mutex // guards following
		server.go#L2663: 	mu         sync.Mutex
		server.go#L3413: 	mu          sync.Mutex
		server.go#L3533: 	uniqNameMu   sync.Mutex
		transfer.go#L817: 	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#L460: 	mu  sync.Mutex // guards err
		transport.go#L1199: 	mu  sync.Mutex // protects pc, err, close(ready)
		transport.go#L1903: 	mu                   sync.Mutex // guards following fields
		transport.go#L2754: 	mu           sync.Mutex        // guards following 4 fields

	net/http/httptest
		server.go#L51: 	mu     sync.Mutex // guards closed and conns

	net/http/httputil
		persist.go#L38: 	mu              sync.Mutex // read-write protects the following fields
		persist.go#L231: 	mu              sync.Mutex // read-write protects the following fields
		reverseproxy.go#L504: 	mu           sync.Mutex // protects t, flushPending, and dst.Flush

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

	os
		getwd.go#L14: 	sync.Mutex

	reflect
		type.go#L1830: 	sync.Mutex // Guards stores (but not loads) on m.
		type.go#L2387: 	sync.Mutex // Guards stores (but not loads) on m.

	runtime/pprof
		pprof.go#L136: 	mu    sync.Mutex
		pprof.go#L144: 	mu sync.Mutex
		pprof.go#L746: 	sync.Mutex

	runtime/trace
		trace.go#L151: 	sync.Mutex       // gate mutators (Start, Stop)

	syscall
		syscall_unix.go#L48: 	sync.Mutex

	testing
		benchmark.go#L69: var benchmarkLock sync.Mutex
		match.go#L20: 	mu sync.Mutex
		match.go#L48: var matchMutex sync.Mutex
		testing.go#L444: 	lastNameMu sync.Mutex // guards lastName
		testing.go#L521: 	tempDirMu  sync.Mutex
		testing.go#L1516: 	mu sync.Mutex