Toggle navigation
SCIP Optimization Suite
SCIP
SoPlex
ZIMPL
UG
GCG
Documentation
SCIP 9.2.0
SCIP 8.1.0
SCIP 7.0.3
SCIP 6.0.2
SCIP 5.0.1
SCIP 4.0.1
SCIP 3.2.1
SCIP
Solving Constraint Integer Programs
tpi
type_tpi_openmp.h
Go to the documentation of this file.
1
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2
/* */
3
/* This file is part of the program and library */
4
/* SCIP --- Solving Constraint Integer Programs */
5
/* */
6
/* Copyright (C) 2002-2017 Konrad-Zuse-Zentrum */
7
/* fuer Informationstechnik Berlin */
8
/* */
9
/* SCIP is distributed under the terms of the ZIB Academic License. */
10
/* */
11
/* You should have received a copy of the ZIB Academic License */
12
/* along with SCIP; see the file COPYING. If not email to scip@zib.de. */
13
/* */
14
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15
16
/**@file type_tpi_openmp.h
17
* @ingroup TASKINTERFACE
18
* @brief the type definitions for the the locks and condition variables for the OpenMP implementation of the TPI
19
* @author Robert Lion Gottwald
20
* @author Stephen J. Maher
21
*/
22
23
/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
24
25
#ifdef TPI_OMP
26
27
#ifndef __TYPE_TPI_OPENMP_H__
28
#define __TYPE_TPI_OPENMP_H__
29
30
#include <omp.h>
31
32
typedef
omp_lock_t SCIP_LOCK;
33
typedef
struct
{
34
SCIP_LOCK _lock;
35
int
_waiters;
36
int
_waitnum;
37
int
_signals;
38
} SCIP_CONDITION;
39
40
#endif
41
42
#endif