Arcane  v3.14.10.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
IThreadMng.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2022 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 d'un gestionnaire de thread. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_UTILS_ITHREADMNG_H
13#define ARCANE_UTILS_ITHREADMNG_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22ARCANE_BEGIN_NAMESPACE
23
24/*---------------------------------------------------------------------------*/
25/*---------------------------------------------------------------------------*/
26/*!
27 * \brief Interface d'un gestionnaire de thread.
28 */
29class ARCANE_UTILS_EXPORT IThreadMng
30{
31 public:
32 virtual ~IThreadMng(){}
33 public:
34 virtual void beginCriticalSection() =0;
35 virtual void endCriticalSection() =0;
36};
37
38/*---------------------------------------------------------------------------*/
39/*---------------------------------------------------------------------------*/
40
41ARCANE_END_NAMESPACE
42
43/*---------------------------------------------------------------------------*/
44/*---------------------------------------------------------------------------*/
45
46#endif
Fichier de configuration d'Arcane.
Interface d'un gestionnaire de thread.
Definition IThreadMng.h:30