IMP logo
IMP Reference Guide  2.10.0
The Integrative Modeling Platform
thread_macros.h File Reference

Control for OpenMP. More...

#include "threads.h"
#include "utility_macros.h"
#include "log_macros.h"
+ Include dependency graph for 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

Control for OpenMP.

Copyright 2007-2018 IMP Inventors. All rights reserved.

Definition in file thread_macros.h.

Macro Definition Documentation

#define IMP_OMP_PRAGMA (   x)

Pragma for OpenMP

Definition at line 35 of file 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 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 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 thread_macros.h.