sysconf(_SC_NPROCESSORS_ONLN) is used a number of places in the tree to get a core count for parallel algorithms. The web says that that phrase does not really return the number of available cores on ARM Linuxish systems in general, including Android - because the return value does not account for cores that are sleeping for power saving reasons. (I've confirmed this locally on an ARM board.) So you may get lucky when you ask. Or not.
sysconf(_SC_NPROCESSORS_CONF) works better here. JS engine issue with some background and links to other discussions: https://bugzilla.mozilla.org/show_bug.cgi?id=1333059. --lars _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform