IMP  2.1.1
The Integrative Modeling Platform
base/thread_macros.h File Reference

Control for OpenMP. More...

#include "threads.h"
#include "utility_macros.h"
#include "log_macros.h"
+ Include dependency graph for base/thread_macros.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define IMP_OMP_PRAGMA(x)
 
#define IMP_TASK(privatev, action, name)   action
 
#define IMP_TASK_SHARED(privatev, sharedv, action, name)   action
 
#define IMP_THREADS(variables, action)   action
 

Detailed Description

Copyright 2007-2013 IMP Inventors. All rights reserved.

Definition in file base/thread_macros.h.

Macro Definition Documentation

#define IMP_OMP_PRAGMA (   x)

Pragma for OpenMP

Definition at line 35 of file base/thread_macros.h.

#define IMP_TASK (   privatev,
  action,
  name 
)    action

Start a new OpenMP task with the next block passing the list of passed variables.

Definition at line 24 of file base/thread_macros.h.

#define IMP_TASK_SHARED (   privatev,
  sharedv,
  action,
  name 
)    action

Start a new OpenMP task with the next block passing the list of passed variables.

Definition at line 28 of file base/thread_macros.h.

#define IMP_THREADS (   variables,
  action 
)    action

Start a parallel section if one is not already started.

Definition at line 32 of file base/thread_macros.h.