12#ifndef ARCCORE_CONCURRENCY_CONCURRENCYGLOBAL_H
13#define ARCCORE_CONCURRENCY_CONCURRENCYGLOBAL_H
22#if defined(ARCCORE_COMPONENT_arccore_concurrency)
23#define ARCCORE_CONCURRENCY_EXPORT ARCCORE_EXPORT
24#define ARCCORE_CONCURRENCY_EXTERN_TPL
26#define ARCCORE_CONCURRENCY_EXPORT ARCCORE_IMPORT
27#define ARCCORE_CONCURRENCY_EXTERN_TPL extern
62namespace Arcane::Concurrency
68extern "C++" ARCCORE_CONCURRENCY_EXPORT IThreadImplementation*
69getThreadImplementation();
70extern "C++" ARCCORE_CONCURRENCY_EXPORT IThreadImplementation*
71setThreadImplementation(IThreadImplementation* impl);
76extern "C++" ARCCORE_CONCURRENCY_EXPORT Ref<IThreadImplementation>
77createGlibThreadImplementation();
79extern "C++" ARCCORE_CONCURRENCY_EXPORT Ref<IThreadImplementation>
80createStdThreadImplementation();
82extern "C++" ARCCORE_CONCURRENCY_EXPORT Ref<IThreadImplementation>
83createNullThreadImplementation();
99using Arcane::GlibThreadImplementation;
100using Arcane::GlobalMutex;
101using Arcane::IThreadBarrier;
102using Arcane::IThreadImplementation;
104using Arcane::MutexImpl;
105using Arcane::NullThreadBarrier;
106using Arcane::NullThreadImplementation;
107using Arcane::SpinLock;
108using Arcane::SpinLockImpl;
109using Arcane::ThreadImpl;
119namespace Arccore::Concurrency
121using Arcane::Concurrency::getThreadImplementation;
122using Arcane::Concurrency::setThreadImplementation;
123using Arcane::Concurrency::createGlibThreadImplementation;
124using Arcane::Concurrency::createStdThreadImplementation;
125using Arcane::Concurrency::createNullThreadImplementation;
#define ARCCORE_DECLARE_REFERENCE_COUNTED_CLASS(class_name)
Macro pour déclarer qu'une classe utilise un compteur de référence.
Implémentation de ITreadImplementation avec la 'Glib'.
Interface d'une barrière entre threads.
Interface d'un service implémentant le support des threads.
Implémentation d'une barrière en mono-thread.
Implémentation des threads en mode mono-thread.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
Espace de nom de Arccore.