+ eoParallel: nthreads option * apply.h: mangled the openmp code with pre-processing conditions

This commit is contained in:
Caner Candan 2011-01-27 10:43:13 +01:00
commit 3d06d4a42a
3 changed files with 22 additions and 8 deletions

View file

@ -26,7 +26,7 @@ Caner Candan <caner.candan@thalesgroup.com>
/** @defgroup Parallel Parallel
* @ingroup Utilities
@{
@{
*/
#ifndef eoParallel_h
@ -52,6 +52,8 @@ public:
std::string prefix() const;
inline unsigned int nthreads() const { return _nthreads.value(); }
friend void make_parallel(eoParser&);
private:
@ -65,7 +67,7 @@ private:
void make_parallel(eoParser&);
namespace eo
namespace eo
{
/**
* parallel is an external global variable defined in order to use where ever you want the parallel parameters