5#include "MRPch/MRBindingMacros.h"
59 std::atomic_flag lockFlag_;
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:79
RAII-style lock guard for the mutex; releases it on destruction.
Definition MRTbbThreadMutex.h:40
MRMESH_API LockGuard(LockGuard &&other)
LockGuard(const LockGuard &)=delete
Definition MRTbbThreadMutex.h:32
MRMESH_API TbbThreadMutex(std::thread::id id=std::this_thread::get_id())
MRMESH_API std::optional< LockGuard > tryLock()