aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime2.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/runtime2.go')
-rw-r--r--src/runtime/runtime2.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go
index 63ba534815..34638d9fb3 100644
--- a/src/runtime/runtime2.go
+++ b/src/runtime/runtime2.go
@@ -670,9 +670,8 @@ type p struct {
_ uint32 // Alignment for atomic fields below
// The when field of the first entry on the timer heap.
- // This is updated using atomic functions.
// This is 0 if the timer heap is empty.
- timer0When uint64
+ timer0When atomic.Uint64
// The earliest known nextwhen field of a timer with
// timerModifiedEarlier status. Because the timer may have been