thread-amount
Get the amount of threads in the current process
Example Usage
Cargo.toml
[]
= "0.1"
The code:
use thread_amount;
use thread;
Difference between num-threads
This crate has windows support and reads the /proc/[PID]/status
file in -unix
systems.
Contributors ✨
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
License
Licensed under the MIT license (LICENSE or http://opensource.org/licenses/MIT)