Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CERN ROOT
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Rutherford Experiment Lab Course Online
CERN ROOT
Commits
239ee50c
Commit
239ee50c
authored
5 years ago
by
Xavier Valls Pla
Browse files
Options
Downloads
Patches
Plain Diff
doublecheck documentation
..for things that were true in TPoolManager but not anymore
parent
9015dde9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/imt/src/RTaskArena.cxx
+6
-12
6 additions, 12 deletions
core/imt/src/RTaskArena.cxx
with
6 additions
and
12 deletions
core/imt/src/RTaskArena.cxx
+
6
−
12
View file @
239ee50c
...
...
@@ -14,19 +14,13 @@
/// \brief Wrapper over tbb::task_arena
///
/// This class is a wrapper over tbb::task_arena, in order to keep
/// TBB away from ROOT's headers. We keep a single global instance,
/// obtained with `ROOT::Internal::GetGlobalTaskArena()`, to be used by any
/// parallel ROOT class with TBB as a backend. This has several advantages:
/// TBB away from ROOT's headers. We keep a single global instance to be
/// used by any parallel ROOT class with TBB as a backend.
///
/// - Provides a unique interface to the TBB scheduler: TThreadExecutor,
/// IMT and any class relying on TBB will get a pointer to the scheduler
/// through `ROOT::Internal::GetGlobalTaskArena()`, which will return a
/// reference to the only pointer to the TBB scheduler that will be
/// active in any ROOT Process
/// - Solves multiple undefined behaviors. Guaranteeing that all classes
/// use the same task arena avoids interferences and undefined behavior
/// by providing a single instance of the tbb::task_arena and automated
/// bookkeeping, instantiation and destruction.
/// TThreadExecutor, IMT and any class relying on TBB will get a pointer
/// to the scheduler through `ROOT::Internal::GetGlobalTaskArena()`, which
/// will return areference to the only pointer to the TBB scheduler that
/// will be active in any ROOT Process.
///
/// #### Examples:
/// ~~~{.cpp}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment