STXXL  1.4-dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
settings.h File Reference

Go to the source code of this file.

Classes

class  stxxl::parallel::NumberOfThreads
 
struct  stxxl::parallel::Settings< must_be_int >
 

Namespaces

 stxxl
 STXXL library namespace
 
 stxxl::parallel
 

Macros

#define STXXL_PARALLEL_CONDITION(c)   (!(SETTINGS::force_sequential) && ((SETTINGS::num_threads > 1 && (c)) || SETTINGS::force_parallel))
 

Typedefs

typedef Settings stxxl::parallel::SETTINGS
 

Macro Definition Documentation

#define STXXL_PARALLEL_CONDITION (   c)    (!(SETTINGS::force_sequential) && ((SETTINGS::num_threads > 1 && (c)) || SETTINGS::force_parallel))

The extensible condition on whether the parallel variant of an algorithm sould be called.

Parameters
cA condition that is overruled by stxxl::parallel::SETTINGS::force_parallel, i. e. usually a decision based on the input size.

Definition at line 36 of file settings.h.