diff options
| author | Luke Gruber <luke.gruber@shopify.com> | 2025-12-12 14:24:40 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-12 14:24:40 -0500 |
| commit | 7909ce2a839ba1c3e134239189e6aa2de3b6b630 (patch) | |
| tree | abbda7754066c47ae8e246c68bf6fe5fddf2b871 /thread_pthread.c | |
| parent | 6147b695870ce82ee3ad5305ce095b63889b8d9d (diff) | |
move th->event_serial to rb_thread_sched_item (#15500)
Diffstat (limited to 'thread_pthread.c')
| -rw-r--r-- | thread_pthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_pthread.c b/thread_pthread.c index 6632359860..a2e42da13e 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -2988,7 +2988,7 @@ timer_thread_deq_wakeup(rb_vm_t *vm, rb_hrtime_t now, uint32_t *event_serial) static void timer_thread_wakeup_thread_locked(struct rb_thread_sched *sched, rb_thread_t *th, uint32_t event_serial) { - if (sched->running != th && th->event_serial == event_serial) { + if (sched->running != th && th->sched.event_serial == event_serial) { thread_sched_to_ready_common(sched, th, true, false); } } |
