occ
Loading...
Searching...
No Matches
occ::parallel Namespace Reference

main module for functionaliity parallelism - threads etc. More...

Functions

void set_num_threads (int threads)
 
int get_num_threads ()
 
template<typename Lambda >
void parallel_do (Lambda &lambda)
 

Variables

int nthreads = 1
 

Detailed Description

main module for functionaliity parallelism - threads etc.

Function Documentation

◆ get_num_threads()

int occ::parallel::get_num_threads ( )
inline

◆ parallel_do()

template<typename Lambda >
void occ::parallel::parallel_do ( Lambda &  lambda)

◆ set_num_threads()

void occ::parallel::set_num_threads ( int  threads)
inline

Variable Documentation

◆ nthreads

int occ::parallel::nthreads = 1
inline