Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
TestSpinLock1 Class Reference
Collaboration diagram for TestSpinLock1:

Public Member Functions

 TestSpinLock1 (SpinLock::eMode mode)
void exec ()
void _F1 ()

Public Attributes

SpinLock m_lock
std::atomic< Int64m_count = 0
Int64 m_count2 = 0
Int64 m_count3 = 0
Int32 m_nb_sub_iter = 1000

Detailed Description

Definition at line 56 of file TestConcurrency.cc.

Constructor & Destructor Documentation

◆ TestSpinLock1() [1/2]

TestSpinLock1::TestSpinLock1 ( )
inline

Definition at line 60 of file TestConcurrency.cc.

◆ TestSpinLock1() [2/2]

TestSpinLock1::TestSpinLock1 ( SpinLock::eMode mode)
inlineexplicit

Definition at line 64 of file TestConcurrency.cc.

Member Function Documentation

◆ _F1()

void TestSpinLock1::_F1 ( )
inline

Definition at line 90 of file TestConcurrency.cc.

◆ exec()

void TestSpinLock1::exec ( )
inline

Definition at line 69 of file TestConcurrency.cc.

Member Data Documentation

◆ m_count

std::atomic<Int64> TestSpinLock1::m_count = 0

Definition at line 103 of file TestConcurrency.cc.

◆ m_count2

Int64 TestSpinLock1::m_count2 = 0

Definition at line 104 of file TestConcurrency.cc.

◆ m_count3

Int64 TestSpinLock1::m_count3 = 0

Definition at line 105 of file TestConcurrency.cc.

◆ m_lock

SpinLock TestSpinLock1::m_lock

Definition at line 102 of file TestConcurrency.cc.

◆ m_nb_sub_iter

Int32 TestSpinLock1::m_nb_sub_iter = 1000

Definition at line 106 of file TestConcurrency.cc.


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