NewtonGetMaxThreadsCount

From Newton Wiki
Jump to: navigation, search

NewtonGetMaxThreadsCount

int NewtonGetMaxThreadsCount(const NewtonWorld* const newtonWorld)

Usage

Return the maximum number of threads supported on this platform.

Parameters

  • const NewtonWorld* const newtonWorld

Return

  • int

Description

  • This function will return 1 on single core version of the library.
  • // fixme; what is a single core version?

See also

NewtonSetThreadsCount NewtonSetMultiThreadSolverOnSingleIsland