Searched refs:LockGuard (Results 1 – 2 of 2) sorted by relevance
87 class LockGuard { class in Petsc::memory::PoolAllocator89 LockGuard() = delete;94 explicit LockGuard(PoolAllocator *pool) noexcept : pool_{pool} { ++pool_->locked_; } in LockGuard() function in Petsc::memory::PoolAllocator::LockGuard103 LockGuard lock_guard() noexcept;
573 PoolAllocator::LockGuard PoolAllocator::lock_guard() noexcept in lock_guard()575 return LockGuard{this}; in lock_guard()