3 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
8 * @file AthAllocators/LockedAllocator.icc
9 * @author scott snyder <snyder@bnl.gov>
11 * @brief A pointer type that holds a lock on an allocator object.
20 * @param alloc The allocator object to which we're pointing.
21 * @param mutex The mutex to lock.
24 LockedAllocator::LockedAllocator (ArenaAllocatorBase* alloc, std::mutex& mutex)
32 * @brief Dereference the pointer.
35 ArenaAllocatorBase& LockedAllocator::operator*()
42 * @brief Dereference the pointer.
45 ArenaAllocatorBase* LockedAllocator::operator->()
52 * @brief Return the underlying pointer.
55 ArenaAllocatorBase* LockedAllocator::get()
62 * @brief Return the underlying pointer.
65 const ArenaAllocatorBase* LockedAllocator::get() const