SysMCGetNumOfCores (FUN)

FUNCTION SysMCGetNumOfCores : DWORD

Function to get the number of cores available for use by the runtime system.

InOut:

Scope

Name

Type

Comment

Return

SysMCGetNumOfCores

DWORD

Returns the number of cores.

Input

pResult

POINTER TO RTS_IEC_RESULT

Pointer to a variable to return an error code (optional)
  • ERR_OK: Call was successful.

  • ERR_FAILED: Function failed for any reason on OS level.

  • ERR_NOTIMPLEMENTED: Function is not implemented.