diff options
Diffstat (limited to 'src/runtime/runtime2.go')
| -rw-r--r-- | src/runtime/runtime2.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go index 3cf0e8e98b..63ba534815 100644 --- a/src/runtime/runtime2.go +++ b/src/runtime/runtime2.go @@ -583,8 +583,8 @@ type m struct { // preemptGen counts the number of completed preemption // signals. This is used to detect when a preemption is - // requested, but fails. Accessed atomically. - preemptGen uint32 + // requested, but fails. + preemptGen atomic.Uint32 // Whether this is a pending preemption signal on this M. signalPending atomic.Uint32 |
