LeviLamina
Loading...
Searching...
No Matches
PrioritizeSharedOwnership.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace Bedrock::Threading {
6
8public:
9 // member variables
10 // NOLINTBEGIN
11 ::ll::TypedStorage<8, 8, ::std::shared_mutex> mMutex;
12 ::ll::TypedStorage<8, 88, ::std::condition_variable_any> mZeroReaders;
13 ::ll::TypedStorage<8, 8, ::std::atomic<uint64>> mReaderCount;
14 // NOLINTEND
15
16public:
17 // member functions
18 // NOLINTBEGIN
19 MCAPI void lock();
20 // NOLINTEND
21};
22
23} // namespace Bedrock::Threading
Definition PrioritizeSharedOwnership.h:7