go/src/context
Ian Lance Taylor fccd0b9b70 context: support non-standard Context in Cause
If Cause is called on a non-standard Context, call ctx.Err.

Fixes #62582

Change-Id: Iac4ed93203eb5529f8839eb479b6ee2ee5ff6cbc
Reviewed-on: https://go-review.googlesource.com/c/go/+/527277
Reviewed-by: Bryan Mills <bcmills@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
2023-09-13 23:32:41 +00:00
..
afterfunc_test.go context: add AfterFunc 2023-04-19 19:13:01 +00:00
benchmark_test.go
context.go context: support non-standard Context in Cause 2023-09-13 23:32:41 +00:00
context_test.go context: add AfterFunc 2023-04-19 19:13:01 +00:00
example_test.go context: fix synchronization in ExampleAfterFunc_cond 2023-08-21 20:24:28 +00:00
net_test.go
x_test.go context: support non-standard Context in Cause 2023-09-13 23:32:41 +00:00