Skip to content

added callFn to limit startFn return types #24143

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mrtowers
Copy link

@mrtowers mrtowers commented Jun 10, 2025

limited spawn function to only accept void, !void, noreturn and !noreturn types.

closes #18810

@mrtowers mrtowers marked this pull request as ready for review June 10, 2025 22:07
@mrtowers mrtowers changed the title added callFn to limit startFn return types, closes #18810 added callFn to limit startFn return types Jun 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Thread.Pool.spawn doesn't allow functions with same signatures as Thread.spawn does
1 participant