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

Add num_cpus, threadpool to stdx #33

Closed
brson opened this issue Jun 8, 2017 · 1 comment
Closed

Add num_cpus, threadpool to stdx #33

brson opened this issue Jun 8, 2017 · 1 comment

Comments

@brson
Copy link
Owner

brson commented Jun 8, 2017

See https://github.com/brson/stdx/blob/master/CONTRIBUTING.md for details on how to add a crate.

@brson
Copy link
Owner Author

brson commented Jun 8, 2017

For an example, create a threadpool using the threadpool crate, with the number of cpus on the system. Since that requires threadpool, might as well add threadpool to stdx as well.

Duplicate the example so both num_cpus and threadpool have the same example, similar to flate2 / tar.

@brson brson changed the title Add num_cpus to stdx Add num_cpus, threadpool to stdx Jun 8, 2017
@brson brson closed this as completed Jun 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant