12#ifndef ARCCORE_BASE_CONCURRENCYBASE_H
13#define ARCCORE_BASE_CONCURRENCYBASE_H
17#include "arccore/base/ParallelLoopOptions.h"
33 friend class TBBTaskImplementation;
50 m_default_loop_options = v;
56 return m_default_loop_options;
61 static Int32 m_max_allowed_thread;
66 static void _setMaxAllowedThread(
Int32 v);
Informations de base pour la gestion du multi-threading.
static void setDefaultParallelLoopOptions(const ParallelLoopOptions &v)
Positionne les valeurs par défaut d'exécution d'une boucle parallèle.
static Int32 maxAllowedThread()
Nombre maximum de threads autorisés pour le multi-threading.
static const ParallelLoopOptions & defaultParallelLoopOptions()
Valeurs par défaut d'exécution d'une boucle parallèle.
Options d'exécution d'une boucle parallèle en multi-thread.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
std::int32_t Int32
Type entier signé sur 32 bits.