summaryrefslogtreecommitdiffhomepage
path: root/syncs/mutex_debug.go
blob: 14b52ffe3cc51c3f97b71247f725b410c50fe8f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: BSD-3-Clause

//go:build ts_mutex_debug

package syncs

import "sync"

type Mutex struct {
	sync.Mutex
}

type RWMutex struct {
	sync.RWMutex
}

// TODO(bradfitz): actually track stuff when in debug mode.