Auvi Rahman

Results 5 comments of Auvi Rahman

what does your macOS /usr/include/unistd.h define _SC_NPROCESSORS_ONLN as? mine shows as ```c #define _SC_NPROCESSORS_ONLN 58 ``` in the macOS code I modified the Linux version and got the 58 from...

I am on `macOS High Sierra 10.13.3` If you need to look at `unistd.h` and its history you can looks at apple's GitHub mirror https://github.com/apple/darwin-xnu/commits/master/bsd/sys/unistd.h

I am getting some weird values: ``` CL-USER(1): (ql:quickload 'cl-cpus) To load "cl-cpus": Load 1 ASDF system: cl-cpus ; Loading "cl-cpus" . (CL-CPUS) CL-USER(2): (cpus:get-number-of-processors) 17322791 CL-USER(3): ```

``` $ sbcl --version SBCL 1.4.6 $ uname -a Darwin 15.6.0 Darwin Kernel Version 15.6.0: Mon Oct 2 22:20:08 PDT 2017; root:xnu-3248.71.4~1/RELEASE_X86_64 x86_64 ```

i tried again with your code: ```lisp CL-USER(1): (ql:quickload 'cl-cpus) To load "cl-cpus": Load 1 ASDF system: cl-cpus ; Loading "cl-cpus" . (CL-CPUS) CL-USER(2): (cpus:get-number-of-processors) 17322791 CL-USER(3): ``` then i...