Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::TBBTaskImplementation::TaskInfoLockGuard Class Reference

Class for positioning TaskThreadInfo::taskIndex(). More...

Collaboration diagram for Arcane::TBBTaskImplementation::TaskInfoLockGuard:

Public Member Functions

 TaskInfoLockGuard (TaskThreadInfo *tti, Integer task_index)

Private Attributes

TaskThreadInfo * m_tti
Integer m_old_task_index

Detailed Description

Class for positioning TaskThreadInfo::taskIndex().

Allows positioning the value of TaskThreadInfo::taskIndex() during construction and restoring the previous value in the destructor.

Definition at line 380 of file TBBTaskImplementation.cc.

Constructor & Destructor Documentation

◆ TaskInfoLockGuard()

Arcane::TBBTaskImplementation::TaskInfoLockGuard::TaskInfoLockGuard ( TaskThreadInfo * tti,
Integer task_index )
inline

Definition at line 384 of file TBBTaskImplementation.cc.

◆ ~TaskInfoLockGuard()

Arcane::TBBTaskImplementation::TaskInfoLockGuard::~TaskInfoLockGuard ( )
inline

Definition at line 393 of file TBBTaskImplementation.cc.

Member Data Documentation

◆ m_old_task_index

Integer Arcane::TBBTaskImplementation::TaskInfoLockGuard::m_old_task_index
private

Definition at line 402 of file TBBTaskImplementation.cc.

◆ m_tti

TaskThreadInfo* Arcane::TBBTaskImplementation::TaskInfoLockGuard::m_tti
private

Definition at line 401 of file TBBTaskImplementation.cc.


The documentation for this class was generated from the following file: