Old revisions Add to book Export to PDF Book Creator Add this page to your book Book Creator Remove this page from your book Manage book (0 page(s)) Help SDK API > BS2_SetMaxThreadCount BS2_SetMaxThreadCount Specifies the maximum thread count. Declaration #include "BS_API.h" int BS2_SetMaxThreadCount(void* context, uint32_t maxThreadCount); Parameter [In] context : Context [Out] maxThreadCount : Maximum thread count NOTE The default thread count is 4*cpu core. You can't set this lower than 8. Return Value If successfully done, BS_SDK_SUCCESS will be returned. If there is an error, the corresponding error code will be returned.