mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-12 05:37:56 -05:00
Common: Clean up ThreadQueueList
Replace all the C-style complicated buffer management with a std::deque. In addition to making the code easier to understand it also adds support for non-POD IdTypes. Also clean the rest of the code to follow our code style.
This commit is contained in:
@ -75,7 +75,7 @@ public:
|
||||
static std::vector<Handle> thread_queue;
|
||||
|
||||
// Lists only ready thread ids.
|
||||
static Common::ThreadQueueList<Handle> thread_ready_queue;
|
||||
static Common::ThreadQueueList<Handle, THREADPRIO_LOWEST+1> thread_ready_queue;
|
||||
|
||||
static Handle current_thread_handle;
|
||||
static Thread* current_thread;
|
||||
|
Reference in New Issue
Block a user