[][src]Function openexr::threads::set_global_thread_count

pub fn set_global_thread_count(thread_count: usize) -> Result<()>

Sets the number of worker threads to use for compression/decompression.

If set to 0, the thread pool is disabled and all OpenEXR calls will run on their calling thread.