Thread:getNumLogicalCores

This page contains changes which are not marked for translation.


Available since: 2018.10
Class: Thread

Description

Returns number of logical cores, hardware concurrency, on host machine. For information only.

local num_logical_cores = thread:getNumLogicalCores()

Parameters

none

Return values

num_logical_cores: (number)