Skip to content

Commit

Permalink
mistake in benchmark thread spawning
Browse files Browse the repository at this point in the history
  • Loading branch information
kentslaney committed Jun 4, 2024
1 parent f0263ad commit 081db1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/runbench.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ def loop(sw):
loop(sw[0])
else:
sw = [DelayedStopwatch() for i in range(participant.threads)]
ts = [threading.Thread(target=loop, args=i) for i in sw]
ts = [threading.Thread(target=loop, args=[i]) for i in sw]
for t in ts:
t.start()

Expand Down

0 comments on commit 081db1d

Please sign in to comment.