method cpu-cores

Documentation for method cpu-cores assembled from the following types:

class Kernel

From Kernel

(Kernel) method cpu-cores

method cpu-cores(--> Int)

Instance / Class method returning the number of CPU cores that are available.

say $*KERNEL.cpu-cores# OUTPUT: «8␤»