Skip to content

Fix calling Fiber::ExecutionContext#enqueue from bare Thread#15767

Merged
straight-shoota merged 1 commit intocrystal-lang:masterfrom
ysbaddaden:fix/fiber-execution-context-enqueue-from-bare-thread
May 15, 2025
Merged

Fix calling Fiber::ExecutionContext#enqueue from bare Thread#15767
straight-shoota merged 1 commit intocrystal-lang:masterfrom
ysbaddaden:fix/fiber-execution-context-enqueue-from-bare-thread

Conversation

@ysbaddaden
Copy link
Collaborator

A bare Thread doesn't have an execution context, yet may be capable to call Fiber#enqueue to enqueue a fiber back into its original execution context instance.

A bare thread doesn't have an execution context, yet may be capable to
call Fiber#enqueue to enqueue a fiber back into its original context.
@ysbaddaden ysbaddaden self-assigned this May 12, 2025
@ysbaddaden ysbaddaden added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:multithreading labels May 12, 2025
@straight-shoota straight-shoota added this to the 1.17.0 milestone May 12, 2025
@straight-shoota straight-shoota merged commit 7a24a48 into crystal-lang:master May 15, 2025
36 checks passed
@github-project-automation github-project-automation bot moved this from Review to Done in Multi-threading May 15, 2025
@ysbaddaden ysbaddaden deleted the fix/fiber-execution-context-enqueue-from-bare-thread branch May 15, 2025 07:37
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.

2 participants