blob: d78062125b8411b315759c06d3ecb3fb50edda48 [file] [log] [blame]
// Copyright 2021 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//go:build deadlock_detection
package sync
import (
"time"
deadlock "github.com/sasha-s/go-deadlock"
)
type Mutex = deadlock.Mutex
type RWMutex = deadlock.RWMutex
func init() {
deadlock.Opts.DeadlockTimeout = 60 * time.Second
}