https://github.com/jeroanan/nproc
Wrapper for gnulib's nproc module
https://github.com/jeroanan/nproc
gnulib racket
Last synced: 4 months ago
JSON representation
Wrapper for gnulib's nproc module
- Host: GitHub
- URL: https://github.com/jeroanan/nproc
- Owner: jeroanan
- License: lgpl-3.0
- Created: 2020-10-04T10:41:53.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-04T14:41:46.000Z (over 5 years ago)
- Last Synced: 2025-03-13T00:34:12.731Z (over 1 year ago)
- Topics: gnulib, racket
- Language: Racket
- Homepage:
- Size: 196 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# nproc
Provides a very simple wrapper to num_processors in gnulib's nproc module.
## Usage
> (require nproc)
> (get-number-of-processors)
4
.. That's it. At the moment it just gives the number of processing units in your system