Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
SpinLockImpl.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
6public:
7 LLAPI void lock();
8
9public:
10 // member variables
11 // NOLINTBEGIN
12 ::ll::TypedStorage<8, 8, uint64 const> mNoThreadId;
13 ::ll::TypedStorage<4, 4, uint> mOwnerRefCount;
14 ::ll::TypedStorage<8, 8, ::std::atomic<uint64>> mOwnerThread;
15 // NOLINTEND
16
17public:
18 // member functions
19 // NOLINTBEGIN
20 MCAPI void unlock();
21 // NOLINTEND
22};
Definition SpinLockImpl.h:5