Skip to content

Fix: Fiber::ExecutionContext::Parallel::Scheduler#tick must be unsigned#16155

Merged
straight-shoota merged 1 commit intomasterfrom
fix/ec-scheduler-tick-must-be-unsigned
Sep 20, 2025
Merged

Fix: Fiber::ExecutionContext::Parallel::Scheduler#tick must be unsigned#16155
straight-shoota merged 1 commit intomasterfrom
fix/ec-scheduler-tick-must-be-unsigned

Conversation

@ysbaddaden
Copy link
Collaborator

The tick is expected to overflow, at which point it will reach the negative Int32::MIN and the once in a while check to dequeue from the global queue won't happen until we reach a positive value!

The tick is expected to overflow at which point it will reach
`-Int32::MAX` and the once in a while check to dequeue from
the global queue won't happen until we reach a positive value!
@ysbaddaden ysbaddaden self-assigned this Sep 18, 2025
@ysbaddaden ysbaddaden added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:multithreading labels Sep 18, 2025
@straight-shoota straight-shoota added this to the 1.18.0 milestone Sep 18, 2025
@straight-shoota straight-shoota changed the title Fix: Fiber::ExecutionContext::Parallel::Scheduler#tick must be unsigned Fix: Fiber::ExecutionContext::Parallel::Scheduler#tick must be unsigned Sep 18, 2025
@straight-shoota straight-shoota merged commit e0a871e into master Sep 20, 2025
80 checks passed
@straight-shoota straight-shoota deleted the fix/ec-scheduler-tick-must-be-unsigned branch September 20, 2025 07:58
@github-project-automation github-project-automation bot moved this from Review to Done in Multi-threading Sep 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:multithreading topic:stdlib:runtime

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants