OpenDOF Project
boolean DOFConfigBuilder_SetThreadPoolSize ( DOFConfigBuilder  self,
uint16  count 
)

Sets the maximum number of threads that a DOF can create to process operations.

If you input a value for thread pool size that is greater than the limit the underlying operating system can handle, the number of threads you can create will be constrained by the operating system. Setting this parameter too low or too high may cause performance problems, based on the application, operating system, and hardware.

Parameters
selfthe DOFConfigBuilder to set the thread pool size in. This must not be NULL.
countThe number of threads that the DOF can create. The value must be greater than zero.
Returns
TRUE if the size was set in the DOFConfigBuilder.
Exceptions
FALSEif the size could not be set. The DOFConfigBuilder remains unchanged.
See Also
DOFState_GetThreadPoolSize
DOFConfig_GetThreadPoolSize
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22