Interface of a service implementing thread support.
More...
#include </__w/arcaneframework.github.io/arcaneframework.github.io/framework/arccore/src/concurrency/arccore/concurrency/IThreadImplementation.h>
|
|
virtual void | addReference ()=0 |
|
virtual void | removeReference ()=0 |
|
virtual void | initialize ()=0 |
|
virtual ThreadImpl * | createThread (IFunctor *f)=0 |
|
virtual void | joinThread (ThreadImpl *t)=0 |
|
virtual void | destroyThread (ThreadImpl *t)=0 |
|
virtual void | createSpinLock (Int64 *spin_lock_addr)=0 |
|
virtual void | lockSpinLock (Int64 *spin_lock_addr, Int64 *scoped_spin_lock_addr)=0 |
|
virtual void | unlockSpinLock (Int64 *spin_lock_addr, Int64 *scoped_spin_lock_addr)=0 |
|
virtual MutexImpl * | createMutex ()=0 |
|
virtual void | destroyMutex (MutexImpl *)=0 |
|
virtual void | lockMutex (MutexImpl *mutex)=0 |
|
virtual void | unlockMutex (MutexImpl *mutex)=0 |
|
virtual Int64 | currentThread ()=0 |
|
virtual IThreadBarrier * | createBarrier ()=0 |
| virtual bool | isMultiThread () const |
| | True if the implementation supports multiple threads.
|
Interface of a service implementing thread support.
This service uses a reference counter and must be destroyed if there are no more references to it. It should therefore generally not be destroyed explicitly.
Definition at line 37 of file arccore/src/concurrency/arccore/concurrency/IThreadImplementation.h.
◆ _deprecatedCreateSpinLock()
| void Arcane::IThreadImplementation::_deprecatedCreateSpinLock |
( |
Int64 * | spin_lock_addr | ) |
|
|
private |
◆ _deprecatedLockSpinLock()
| void Arcane::IThreadImplementation::_deprecatedLockSpinLock |
( |
Int64 * | spin_lock_addr, |
|
|
Int64 * | scoped_spin_lock_addr ) |
|
private |
◆ _deprecatedUnlockSpinLock()
| void Arcane::IThreadImplementation::_deprecatedUnlockSpinLock |
( |
Int64 * | spin_lock_addr, |
|
|
Int64 * | scoped_spin_lock_addr ) |
|
private |
◆ isMultiThread()
| virtual bool Arcane::IThreadImplementation::isMultiThread |
( |
| ) |
const |
|
inlinevirtual |
◆ ManualLock
◆ ScopedLock
◆ SpinLock
The documentation for this class was generated from the following files: