STIR 6.4.0

Implementation of functions related to setting/getting the number of threads. More...

#include "stir/common.h"

Go to the source code of this file.

Namespaces

namespace  stir
 Namespace for the STIR library (and some/most of its applications)
 

Functions

int stir::get_max_num_threads ()
 Get current maximum number of threads.
 
void stir::set_num_threads (const int num_threads=0)
 Set current number of threads.
 
int stir::get_default_num_threads ()
 Get default number of threads.
 
void stir::set_default_num_threads ()
 set current number of threads to the default
 

Detailed Description

Implementation of functions related to setting/getting the number of threads.

Author
Kris Thielemans