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

Implement sysconf to support std threads #11

Merged
merged 1 commit into from
Feb 10, 2022

Conversation

AzureMarker
Copy link
Member

std checks sysconf for the page size if it gets an error from pthread_attr_setstacksize (it then rounds the stack size up to a multiple of the page size).

std checks sysconf for the page size if it gets an error from
pthread_attr_setstacksize (it then rounds the stack size up to a
multiple of the page size).
@Meziu
Copy link
Member

Meziu commented Feb 10, 2022

Sysconf looks like one of those functions we’ll keep adding onto for a long time…

@Meziu Meziu merged commit 080f7af into rust3ds:master Feb 10, 2022
@AzureMarker AzureMarker deleted the feature/sysconf branch February 10, 2022 06:09
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.

2 participants