Home
last modified time | relevance | path

Searched refs:LockGuard (Results 1 – 2 of 2) sorted by relevance

/petsc/include/petsc/private/cpp/
H A Dobject_pool.hpp87 class LockGuard { class in Petsc::memory::PoolAllocator
89 LockGuard() = delete;
94 explicit LockGuard(PoolAllocator *pool) noexcept : pool_{pool} { ++pool_->locked_; } in LockGuard() function in Petsc::memory::PoolAllocator::LockGuard
103 LockGuard lock_guard() noexcept;
/petsc/src/sys/objects/cxx/memory/
H A Dobject_pool.cxx573 PoolAllocator::LockGuard PoolAllocator::lock_guard() noexcept in lock_guard()
575 return LockGuard{this}; in lock_guard()