aboutsummaryrefslogtreecommitdiff
path: root/external_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'external_test.go')
-rw-r--r--external_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/external_test.go b/external_test.go
index d0f5ecf..201712d 100644
--- a/external_test.go
+++ b/external_test.go
@@ -99,9 +99,9 @@ func BenchmarkInvertedThunderingHerd(b *testing.B) {
for i := 0; i < b.N; i++ {
done := stm.NewBuiltinEqVar(false)
tokens := stm.NewBuiltinEqVar(0)
- pending := stm.NewVar[stmutil.Settish](stmutil.NewSet())
+ pending := stm.NewVar(stmutil.NewSet())
for range iter.N(1000) {
- ready := stm.NewVar[bool](false)
+ ready := stm.NewVar(false)
stm.Atomically(stm.VoidOperation(func(tx *stm.Tx) {
pending.Set(tx, pending.Get(tx).Add(ready))
}))