getNumProcessors

Determine the approximate number of threads that the system will schedule simultaneously for this process. This is intended to be used as a parameter to glib.thread_pool.ThreadPool.new_ for CPU bound tasks and similar cases.

uint
getNumProcessors
()

Return Value

Type: uint

Number of schedulable threads, always greater than 0