IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
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)
#define IMP_TASK_SHARED(privatev, sharedv, action, name)
#define IMP_THREADS(variables, action)

Detailed Description

Control for OpenMP.

Copyright 2007-2022 IMP Inventors. All rights reserved.

Definition in file thread_macros.h.

Macro Definition Documentation

◆ IMP_OMP_PRAGMA

#define IMP_OMP_PRAGMA ( x)

Pragma for OpenMP

Definition at line 35 of file thread_macros.h.

◆ IMP_TASK

#define IMP_TASK ( privatev,
action,
name )
Value:
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.

◆ IMP_TASK_SHARED

#define IMP_TASK_SHARED ( privatev,
sharedv,
action,
name )
Value:
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.

◆ IMP_THREADS

#define IMP_THREADS ( variables,
action )
Value:
action

Start a parallel section if one is not already started.

Definition at line 32 of file thread_macros.h.