Skip to content

Fix math overflow after spawning Int32::MAX + 1 fibers#14096

Merged
straight-shoota merged 1 commit intocrystal-lang:masterfrom
ysbaddaden:fix/mt/math-overflow-in-scheduler
Dec 17, 2023
Merged

Fix math overflow after spawning Int32::MAX + 1 fibers#14096
straight-shoota merged 1 commit intocrystal-lang:masterfrom
ysbaddaden:fix/mt/math-overflow-in-scheduler

Conversation

@ysbaddaden
Copy link
Collaborator

This only happens after a lot of fibers has started, and can take over 24 days if spawning a fiber every millisecond, but it can eventually happen.

This is a still lot of fibers, and can take over 24 days if spawning a
fiber every millisecond, but it can happen.
@Blacksmoke16 Blacksmoke16 added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:stdlib:concurrency topic:multithreading labels Dec 15, 2023
@straight-shoota straight-shoota added this to the 1.11.0 milestone Dec 15, 2023
@straight-shoota straight-shoota merged commit 756a876 into crystal-lang:master Dec 17, 2023
@ysbaddaden ysbaddaden deleted the fix/mt/math-overflow-in-scheduler branch December 18, 2023 10:24
@straight-shoota straight-shoota changed the title MT: math overflow after spawning Int32::MAX + 1 fibers Fix math overflow after spawning Int32::MAX + 1 fibers Jan 5, 2024
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:concurrency

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants