From 8df648ef578215483bf37164f5278dcc46002ab1 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Thu, 28 Oct 2021 14:42:02 +0100 Subject: [PATCH] Add missing sync.NewCond wrapper --- deadlock.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deadlock.go b/deadlock.go index 558bc42..23813a0 100644 --- a/deadlock.go +++ b/deadlock.go @@ -69,6 +69,9 @@ type WaitGroup struct { sync.WaitGroup } +// NewCond is a sync.NewCond wrapper +var NewCond = sync.NewCond + // A Mutex is a drop-in replacement for sync.Mutex. // Performs deadlock detection unless disabled in Opts. type Mutex struct {