]> Cypherpunks repositories - gostls13.git/commit
Revert "runtime: use dispatch semaphores on Darwin"
authorIan Lance Taylor <iant@golang.org>
Wed, 19 Jun 2019 17:48:33 +0000 (17:48 +0000)
committerIan Lance Taylor <iant@golang.org>
Fri, 21 Jun 2019 04:42:51 +0000 (04:42 +0000)
commit1130cc745d45bc7248a2e133a609732a14486f01
tree4642fd40818af671c6efef5fee2e6a6e5de3ce5f
parentb5a8dcb0d2e8e2a58f0fdd9743eae9b3a2b39786
Revert "runtime: use dispatch semaphores on Darwin"

This reverts https://golang.org/cl/182258.

The new code caused unpredictable crashes that are not understood.  The old code was occasionally flaky but still better than this approach.

Fixes #32655
Updates #31264

Change-Id: I2e9d27d6052e84bf75106d8b844549ba4f571695
Reviewed-on: https://go-review.googlesource.com/c/go/+/182880
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Katie Hockman <katie@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/runtime/os_darwin.go
src/runtime/sys_darwin.go
src/runtime/sys_darwin_386.s
src/runtime/sys_darwin_amd64.s
src/runtime/sys_darwin_arm.s
src/runtime/sys_darwin_arm64.s