diff options
author | Matt Joiner <anacrolix@gmail.com> | 2019-11-04 15:52:42 +1100 |
---|---|---|
committer | Matt Joiner <anacrolix@gmail.com> | 2019-11-04 15:52:42 +1100 |
commit | bbcb2aadd77d362849993806e5c3900b11a1502e (patch) | |
tree | 0c3969c1cb031acdf1a23975b850934d130da87d /global.go | |
parent | Use atomic pointers for Var data (diff) | |
download | stm-bbcb2aadd77d362849993806e5c3900b11a1502e.tar.gz stm-bbcb2aadd77d362849993806e5c3900b11a1502e.tar.xz |
Remove global lock
Diffstat (limited to 'global.go')
-rw-r--r-- | global.go | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -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 |