]> Cypherpunks repositories - gostls13.git/commit
runtime: "fix" non-preemptible loop in TestParallelRWMutexReaders
authorAustin Clements <austin@google.com>
Wed, 25 Oct 2017 22:36:12 +0000 (18:36 -0400)
committerAustin Clements <austin@google.com>
Thu, 26 Oct 2017 20:38:48 +0000 (20:38 +0000)
commitda95254d1aee5b2497b784b7bfd9d0972505a48d
treeca9dc339fac3239b58acde4d7114153703fb5f1b
parent4d8d138318123d2cb92fb2674bfb910282516550
runtime: "fix" non-preemptible loop in TestParallelRWMutexReaders

TestParallelRWMutexReaders has a non-preemptible loop in it that can
deadlock if GC triggers. "Fix" it like we've fixed similar tests.

Updates #10958.

Change-Id: I13618f522f5ef0c864e7171ad2f655edececacd7
Reviewed-on: https://go-review.googlesource.com/73710
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/rwmutex_test.go