diff options
| author | Léo Lam <leo@leolam.fr> | 2020-09-20 17:59:41 +0200 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2020-09-22 18:43:03 +0200 |
| commit | 8756ccdd07c690e61f9896830ca8bec12d4cfee1 (patch) | |
| tree | 6c8ecf11d0a9792b655ead8d71a6db3cfef90178 /src/KingSystem/Utils/Thread/TaskQueueBase.h | |
| parent | 5ac991b0e05026b5ae25bfb7541d085f8d7000a2 (diff) | |
ksys: Start adding OverlayArenaSystem
Diffstat (limited to 'src/KingSystem/Utils/Thread/TaskQueueBase.h')
| -rw-r--r-- | src/KingSystem/Utils/Thread/TaskQueueBase.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/KingSystem/Utils/Thread/TaskQueueBase.h b/src/KingSystem/Utils/Thread/TaskQueueBase.h index 3d4b44cf..bdc7503f 100644 --- a/src/KingSystem/Utils/Thread/TaskQueueBase.h +++ b/src/KingSystem/Utils/Thread/TaskQueueBase.h @@ -88,7 +88,7 @@ public: void fetchTask(Task** out_task); protected: - enum class Flag { + enum class Flag : u8 { Lock = 0x1, PreventThreadPoolChanges = 0x2, }; @@ -145,7 +145,7 @@ protected: void notifyThreadsForNewTasks(); - sead::TypedBitFlag<Flag, u8> mFlags; + sead::TypedBitFlag<Flag> mFlags; sead::OffsetList<Task> mActiveTasks; sead::Buffer<Lane> mLanes; Event mQueueEmptyEvent; |
