aboutsummaryrefslogtreecommitdiff
path: root/src/syscall/exec_linux.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2024-10-02 13:38:25 -0700
committerGopher Robot <gobot@golang.org>2024-10-02 22:11:29 +0000
commitce60f70374b08e3130bd88fd314b46e45a24c6f0 (patch)
treed1a63bbaae0579cdfaef707bf76e60f69501f7f4 /src/syscall/exec_linux.go
parent95936844387c0158b773afa4ee6f99bd430791cf (diff)
downloadgo-ce60f70374b08e3130bd88fd314b46e45a24c6f0.tar.xz
runtime: clear isSending bit earlier
I've done some more testing of the new isSending field. I'm not able to get more than 2 bits set. That said, with this change it's significantly less likely to have even 2 bits set. The idea here is to clear the bit before possibly locking the channel we are sending the value on, thus avoiding some delay and some serialization. For #69312 Change-Id: I8b5f167f162bbcbcbf7ea47305967f349b62b0f4 Reviewed-on: https://go-review.googlesource.com/c/go/+/617497 Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> Commit-Queue: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/syscall/exec_linux.go')
0 files changed, 0 insertions, 0 deletions