]> Cypherpunks repositories - gostls13.git/commit
runtime: call osyield directly in lockextra
author徐志强 <shore.cloud@gmail.com>
Wed, 11 Dec 2019 05:51:33 +0000 (05:51 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 7 May 2020 04:59:13 +0000 (04:59 +0000)
commit85162292af601a1bebb8ec3d63314e39b648829f
treefb8fdeabecffbace6ac83437ef7ad3ba8467333e
parent9e8157805fed930c292d5593aab3016ce6d9c8ed
runtime: call osyield directly in lockextra

The `yield := osyield` line doesn't serve any purpose,  it's committed in `2015`, time to delete that line:)

Change-Id: I382d4d32cf320f054f011f3b6684c868cbcb0ff2
GitHub-Last-Rev: 7a0aa25e555edd901add25a1101e7b145d1f3bd8
GitHub-Pull-Request: golang/go#36078
Reviewed-on: https://go-review.googlesource.com/c/go/+/210837
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/proc.go