www.mooseframework.org
src
utils
ParallelUniqueId.C
Go to the documentation of this file.
1
//* This file is part of the MOOSE framework
2
//* https://www.mooseframework.org
3
//*
4
//* All rights reserved, see COPYRIGHT for full restrictions
5
//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6
//*
7
//* Licensed under LGPL 2.1, please see LICENSE for details
8
//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10
#include "
ParallelUniqueId.h
"
11
12
bool
ParallelUniqueId::_initialized
=
false
;
13
14
#ifdef LIBMESH_HAVE_TBB_API
15
tbb::concurrent_bounded_queue<unsigned int>
ParallelUniqueId::_ids
;
16
#elif !defined(LIBMESH_HAVE_OPENMP) && defined(LIBMESH_HAVE_PTHREAD)
17
std::queue<unsigned int>
ParallelUniqueId::_ids
;
18
Threads::spin_mutex
ParallelUniqueId::_pthread_id_mutex
;
19
#endif
ParallelUniqueId::_ids
static tbb::concurrent_bounded_queue< unsigned int > _ids
Definition:
ParallelUniqueId.h:86
ParallelUniqueId::_initialized
static bool _initialized
Definition:
ParallelUniqueId.h:92
ParallelUniqueId.h
ParallelUniqueId::_pthread_id_mutex
static Threads::spin_mutex _pthread_id_mutex
Definition:
ParallelUniqueId.h:89
Generated on Thu Apr 18 2024 15:23:18 for www.mooseframework.org by
1.8.14