https://mooseframework.inl.gov
src
utils
ParallelUniqueId.C
Go to the documentation of this file.
1
//* This file is part of the MOOSE framework
2
//* https://mooseframework.inl.gov
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:84
libMesh::Threads::spin_mutex
ParallelUniqueId::_initialized
static bool _initialized
Definition:
ParallelUniqueId.h:90
ParallelUniqueId.h
ParallelUniqueId::_pthread_id_mutex
static Threads::spin_mutex _pthread_id_mutex
Definition:
ParallelUniqueId.h:87
Generated on Thu Jul 17 2025 01:32:17 for https://mooseframework.inl.gov by
1.8.14