diff options
| author | Russ Cox <rsc@golang.org> | 2024-02-14 11:57:04 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2024-02-28 16:44:18 +0000 |
| commit | a155a2f8a135b8b274d978ccb9ca4e690176118b (patch) | |
| tree | f81a478fb933c0a106b4060f567354e3a951ea2b /src/database/sql | |
| parent | c6888d9264c481e61daa7ab0a8e603cdcb67b897 (diff) | |
| download | go-a155a2f8a135b8b274d978ccb9ca4e690176118b.tar.xz | |
runtime: change timer.status to timer.state
The status enumeration is simple enough now that we can
view it as a bit set instead. Switch to a bit set, freeing up
the remaining bits for use in followup work to allow
garbage-collecting timers.
[This is one CL in a refactoring stack making very small changes
in each step, so that any subtle bugs that we miss can be more
easily pinpointed to a small change.]
Change-Id: I5f331fe3db1b5cb52f8571091f97f8ba029f3ac9
Reviewed-on: https://go-review.googlesource.com/c/go/+/564130
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/database/sql')
0 files changed, 0 insertions, 0 deletions
