Sets the maximum number of background threads that will be used to run asynchronous functions.
void SetMaxThreads( size_t maxThreads ); |
The maximum number of threads that will be used by for asynchronous functions.
If the value is 0 then an exception of type CXlOutOfRangeException will be thrown.
If Start has already been called, then SetMaxThreads will fail and an exception of type CXlRuntimeException will be thrown.
Header: rtdlink.h