14#ifndef MUTEXSPINLOCKIMPL_H
15#define MUTEXSPINLOCKIMPL_H
32class EXPCL_DTOOL_DTOOLBASE MutexSpinlockImpl {
34 constexpr MutexSpinlockImpl() noexcept = default;
35 MutexSpinlockImpl(const MutexSpinlockImpl ©) = delete;
37 MutexSpinlockImpl &operator = (const MutexSpinlockImpl ©) = delete;
41 INLINE
bool try_lock();
47 std::atomic_flag _flag = ATOMIC_FLAG_INIT;
50#include "mutexSpinlockImpl.I"
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.