获取运行时的线程数。
int KmlVmlGetMaxThreads(void)
返回运行时的线程数,最大值为CPU核数。
#include "kvml.h"
int nthreads = KmlVmlGetMaxThreads(); // 获取运行时的线程数