pub fn create_runtime(num_threads: usize) -> ANNResult<Runtime>
Creates a new multi-threaded tokio runtime with the specified number of worker threads. If num_threads is 0, it defaults to the number of logical CPUs.
num_threads