STIR  6.2.0
Namespaces | Functions
num_threads.cxx File Reference

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

#include "stir/num_threads.h"
#include "stir/warning.h"
#include "stir/info.h"
#include <boost/format.hpp>
#include <stdlib.h>

Namespaces

 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. More...
 
void stir::set_num_threads (const int num_threads=0)
 Set current number of threads. More...
 
int stir::get_default_num_threads ()
 Get default number of threads. More...
 
void stir::set_default_num_threads ()
 set current number of threads to the default More...
 

Detailed Description

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

Author
Kris Thielemans