Changes between Initial Version and Version 1 of Ticket #45832, comment 24
- Timestamp:
- Oct 13, 2015, 12:05:33 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #45832, comment 24
initial v1 3 3 > I could not, for example, find a bug report in [https://bugzilla.mozilla.org/ Mozilla's Bugzilla] about the use of `_SC_NPROCESSORS_ONLN`. A quick Google search did reveal [http://www.cprogramming.com/snippets/source-code/find-the-number-of-cpu-cores-for-windows-mac-or-linux this code snippet] purporting to show a Mac-compatible equivalent. 4 4 5 unistd.h does not contain a definition of _SC_NPROCESSORS_ONLN. Another option to provide the value would be, taken from the command 'sysctl -b hw.availcpu | awk '{print $NF}''to "patch" jsgc.cpp. In Shell it would be something like that:5 unistd.h does not contain a definition of _SC_NPROCESSORS_ONLN. Another option to provide the value would be, taken from the command `sysctl -b hw.availcpu | awk '{print $NF}'` to "patch" jsgc.cpp. In Shell it would be something like that: 6 6 7 7 {{{