BioDynaMo
v1.05.120-25dc9790
|
#include <uniform_grid_environment.h>
Public Member Functions | |
GridNeighborMutex (const FixedSizeVector< uint64_t, 27 > &mutex_indices, GridNeighborMutexBuilder *mutex_builder) | |
~GridNeighborMutex () override=default | |
void | lock () override |
void | unlock () override |
void | SetMutexIndices (const FixedSizeVector< uint64_t, 27 > &indices) |
Public Member Functions inherited from bdm::Environment::NeighborMutexBuilder::NeighborMutex | |
virtual | ~NeighborMutex ()=default |
Private Attributes | |
FixedSizeVector< uint64_t, 27 > | mutex_indices_ |
GridNeighborMutexBuilder * | mutex_builder_ |
The NeighborMutex class is a synchronization primitive that can be used to protect agents data from being simultaneously accessed by multiple threads.
Definition at line 545 of file uniform_grid_environment.h.
|
inline |
Definition at line 548 of file uniform_grid_environment.h.
|
overridedefault |
|
inlineoverridevirtual |
Reimplemented from bdm::Environment::NeighborMutexBuilder::NeighborMutex.
Definition at line 559 of file uniform_grid_environment.h.
|
inline |
Definition at line 575 of file uniform_grid_environment.h.
|
inlineoverridevirtual |
Reimplemented from bdm::Environment::NeighborMutexBuilder::NeighborMutex.
Definition at line 568 of file uniform_grid_environment.h.
|
private |
Definition at line 582 of file uniform_grid_environment.h.
|
private |
Definition at line 581 of file uniform_grid_environment.h.