Skip to content
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

FiberScheduler: Make the stack size configurable #7193

Merged
merged 1 commit into from
Sep 25, 2019

Conversation

AndrejMitrovic
Copy link
Contributor

Unfortunately PAGESIZE is private so I can't use default arguments like in core.thread.Fiber.

This makes the create() method protected to enable
spawning a fiber with a custom stack size.

The InfoFiber class has been made protected to
allow instantiating it in subclasses.
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @AndrejMitrovic!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub fetch digger
dub run digger -- build "master + phobos#7193"

@dlang-bot dlang-bot merged commit 9709e35 into dlang:master Sep 25, 2019
@AndrejMitrovic AndrejMitrovic deleted the configurable-fiber branch September 25, 2019 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants