LeviLamina
Loading...
Searching...
No Matches
PrioritizeUniqueOwnership.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace Bedrock::Threading {
6
8public:
9 // PrioritizeUniqueOwnership inner types define
10 using CountType = uint64;
11
12public:
13 // member variables
14 // NOLINTBEGIN
15 ::ll::TypedStorage<8, 80, ::std::mutex> mLock;
16 ::ll::TypedStorage<1, 1, ::std::hash<::std::thread::id>> mThreadHasher;
17 ::ll::TypedStorage<8, 8, uint64 const> mNoThreadId;
18 ::ll::TypedStorage<8, 8, uint64> mOwnerThread;
19 ::ll::TypedStorage<8, 8, uint64> mWriteCount;
20 ::ll::TypedStorage<8, 8, uint64> mReadCount;
21 ::ll::TypedStorage<8, 72, ::std::condition_variable> mPriorityWriteQueue;
22 ::ll::TypedStorage<8, 72, ::std::condition_variable> mWriteQueue;
23 ::ll::TypedStorage<8, 72, ::std::condition_variable> mReadQueue;
24 // NOLINTEND
25};
26
27} // namespace Bedrock::Threading
Definition PrioritizeUniqueOwnership.h:7