]> Cypherpunks repositories - gostls13.git/commit
sync: in TryLock try to acquire mutex even if state is not 0
authorIan Lance Taylor <iant@golang.org>
Sat, 13 Nov 2021 22:36:35 +0000 (14:36 -0800)
committerIan Lance Taylor <iant@golang.org>
Tue, 16 Nov 2021 05:58:03 +0000 (05:58 +0000)
commitfdd67930a0f2fec891e4be9c2b62996eb8b06ce5
tree89337602ac14ed68ae57f47fb05b5798640cacdf
parent865689571d52fee0b4c910d54bd4ba1484ff2344
sync: in TryLock try to acquire mutex even if state is not 0

For #45435

Change-Id: I728accd9a53c1826243f52aa04dc2a0a1dfdaadf
Reviewed-on: https://go-review.googlesource.com/c/go/+/363672
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
src/sync/mutex.go