Arcane
4.1.12.0
User documentation
Loading...
Searching...
No Matches
IThreadMng.h
1
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2
//-----------------------------------------------------------------------------
3
// Copyright 2000-2026 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4
// See the top-level COPYRIGHT file for details.
5
// SPDX-License-Identifier: Apache-2.0
6
//-----------------------------------------------------------------------------
7
/*---------------------------------------------------------------------------*/
8
/* IThreadMng.h (C) 2000-2008 */
9
/* */
10
/* Interface of a thread manager. */
11
/*---------------------------------------------------------------------------*/
12
#ifndef ARCANE_UTILS_ITHREADMNG_H
13
#define ARCANE_UTILS_ITHREADMNG_H
14
/*---------------------------------------------------------------------------*/
15
/*---------------------------------------------------------------------------*/
16
17
#include "
arcane/utils/ArcaneGlobal.h
"
18
19
/*---------------------------------------------------------------------------*/
20
/*---------------------------------------------------------------------------*/
21
22
namespace
Arcane
23
{
24
25
/*---------------------------------------------------------------------------*/
26
/*---------------------------------------------------------------------------*/
27
28
/*!
29
* \brief Interface of a thread manager.
30
*/
31
class
ARCANE_UTILS_EXPORT
IThreadMng
32
{
33
public
:
34
35
virtual
~IThreadMng
() {}
36
37
public
:
38
39
virtual
void
beginCriticalSection() = 0;
40
virtual
void
endCriticalSection() = 0;
41
};
42
43
/*---------------------------------------------------------------------------*/
44
/*---------------------------------------------------------------------------*/
45
46
}
// namespace Arcane
47
48
/*---------------------------------------------------------------------------*/
49
/*---------------------------------------------------------------------------*/
50
51
#endif
ArcaneGlobal.h
Arcane configuration file.
Arcane::IThreadMng
Interface of a thread manager.
Definition
IThreadMng.h:32
Arcane
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Definition
AbstractCaseDocumentVisitor.cc:21
arcane
utils
IThreadMng.h
Generated on
for Arcane by
1.16.1