]> Cypherpunks repositories - gostls13.git/commit
runtime: rename timers fields for clarity
authorRuss Cox <rsc@golang.org>
Fri, 16 Feb 2024 23:38:51 +0000 (18:38 -0500)
committerGopher Robot <gobot@golang.org>
Fri, 8 Mar 2024 21:09:35 +0000 (21:09 +0000)
commit2171e628b8d3d505b0ee82e3ac35a21f12467130
tree376befde8dfd020861e19f8105640516d4fb646d
parent707eba9b941230be1afe809466afa3465ed60fdb
runtime: rename timers fields for clarity

These names were copied over from the p field names,
but now that they are part of the timers type they can use
shorter names that make the relationship clearer.

timer0When -> minWhen
timerModifiedEarliest -> minNextWhen

This code change is only the renaming.

Change-Id: I1c0adc0b3a1289d35639619d5c945585b2d81a9f
Reviewed-on: https://go-review.googlesource.com/c/go/+/564975
Auto-Submit: Russ Cox <rsc@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Austin Clements <austin@google.com>
src/runtime/time.go