]> Cypherpunks repositories - gostls13.git/commit
testing: increment tempDirSeq non-atomically
authorcuiweixie <cuiweixie@gmail.com>
Sat, 27 Aug 2022 02:35:31 +0000 (10:35 +0800)
committerGopher Robot <gobot@golang.org>
Tue, 30 Aug 2022 19:42:56 +0000 (19:42 +0000)
commit8a3d167f5b4b482a230cd9800df9969af60561af
tree5f8ada7dfe96cf35a3817b3370be614615d72146
parent3c6a5cdb9a29c0e3b12cdaa8ab81ba22d989e3b0
testing: increment tempDirSeq non-atomically

It's unnecessary to to call atomic.AddInt32 since there is a mutex lock.

Change-Id: I31fcece17c34f99a95772d744aebd3f6a8cf1d23
Reviewed-on: https://go-review.googlesource.com/c/go/+/426081
Reviewed-by: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
src/testing/testing.go