Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
arcane/src/arcane/parallel/thread/GlibThreadImplementation.cc
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2024 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/* GlibThreadImplementation.cc (C) 2000-2024 */
9/* */
10/* Implémentation des threads utilisant la glib. */
11/*---------------------------------------------------------------------------*/
12/*---------------------------------------------------------------------------*/
13
14#include "arccore/concurrency/GlibThreadImplementation.h"
15
17#include "arcane/utils/IThreadImplementationService.h"
18#include "arcane/FactoryService.h"
19
20/*---------------------------------------------------------------------------*/
21/*---------------------------------------------------------------------------*/
22
23namespace Arcane
24{
25
26/*---------------------------------------------------------------------------*/
27/*---------------------------------------------------------------------------*/
33{
34 public:
35
37 {
38 }
39
40 public:
41
42 void build() {}
43};
44
45/*---------------------------------------------------------------------------*/
46/*---------------------------------------------------------------------------*/
47
50{
51 public:
52
54
55 public:
56
57 void build() {}
58
59 public:
60
61 Ref<IThreadImplementation> createImplementation() override
62 {
63 return Arccore::Concurrency::createGlibThreadImplementation();
64 }
65};
66
67/*---------------------------------------------------------------------------*/
68/*---------------------------------------------------------------------------*/
69
73
74/*---------------------------------------------------------------------------*/
75/*---------------------------------------------------------------------------*/
76
77} // namespace Arcane
78
79/*---------------------------------------------------------------------------*/
80/*---------------------------------------------------------------------------*/
#define ARCANE_REGISTER_APPLICATION_FACTORY(aclass, ainterface, aname)
Enregistre un service de fabrique pour la classe aclass.
Déclarations des types utilisés dans Arcane.
Interface d'un service de gestion des threads.
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition Lima.cc:120
Structure contenant les informations pour créer un service.
Implémentation de ITreadImplementation avec la 'Glib'.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-