aboutsummaryrefslogtreecommitdiff
path: root/global.go
diff options
context:
space:
mode:
authorMatt Joiner <anacrolix@gmail.com>2019-11-04 15:52:42 +1100
committerMatt Joiner <anacrolix@gmail.com>2019-11-04 15:52:42 +1100
commitbbcb2aadd77d362849993806e5c3900b11a1502e (patch)
tree0c3969c1cb031acdf1a23975b850934d130da87d /global.go
parentUse atomic pointers for Var data (diff)
downloadstm-bbcb2aadd77d362849993806e5c3900b11a1502e.tar.gz
stm-bbcb2aadd77d362849993806e5c3900b11a1502e.tar.xz
Remove global lock
Diffstat (limited to 'global.go')
-rw-r--r--global.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/global.go b/global.go
index bc5f18a..4974334 100644
--- a/global.go
+++ b/global.go
@@ -1,7 +1 @@
package stm
-
-import "sync"
-
-// The globalLock serializes transaction verification/committal. globalCond is
-// used to signal that at least one Var has changed.
-var globalLock sync.Mutex