aboutsummaryrefslogtreecommitdiff
path: root/global.go
diff options
context:
space:
mode:
authorMatt Joiner <anacrolix@gmail.com>2019-10-23 18:30:55 +1100
committerMatt Joiner <anacrolix@gmail.com>2019-10-23 18:30:55 +1100
commitc0ede237be948532a9113d6db072a7847d02c890 (patch)
tree509ad139815eca014f7d734d4e3135a6e676e1b2 /global.go
parentRegister transaction condition with each read Var only (diff)
downloadstm-c0ede237be948532a9113d6db072a7847d02c890.tar.gz
stm-c0ede237be948532a9113d6db072a7847d02c890.tar.xz
Get rid of globalCond
Diffstat (limited to 'global.go')
-rw-r--r--global.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/global.go b/global.go
index 479864e..bc5f18a 100644
--- a/global.go
+++ b/global.go
@@ -5,4 +5,3 @@ import "sync"
// The globalLock serializes transaction verification/committal. globalCond is
// used to signal that at least one Var has changed.
var globalLock sync.Mutex
-var globalCond = sync.NewCond(&globalLock)