LeviLamina
Loading...
Searching...
No Matches
SpinLockImpl.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
6public:
7 // member variables
8 // NOLINTBEGIN
9 ::ll::TypedStorage<8, 8, uint64 const> mNoThreadId;
10 ::ll::TypedStorage<4, 4, uint> mOwnerRefCount;
11 ::ll::TypedStorage<8, 8, ::std::atomic<uint64>> mOwnerThread;
12 // NOLINTEND
13
14public:
15 // member functions
16 // NOLINTBEGIN
17 MCAPI void lock();
18
19 MCAPI void unlock();
20
21 MCAPI ~SpinLockImpl();
22 // NOLINTEND
23
24public:
25 // destructor thunk
26 // NOLINTBEGIN
27 MCAPI void $dtor();
28 // NOLINTEND
29};
Definition SpinLockImpl.h:5