3#ifndef TRAM_SDK_TEMPLATES_SPINLOCK_H
4#define TRAM_SDK_TEMPLATES_SPINLOCK_H
16 while (lock.exchange(
true));
23 std::atomic<bool> lock = {
false};
Definition: spinlock.h:13
void Lock()
Definition: spinlock.h:15
void Unlock()
Definition: spinlock.h:19