mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-22 03:28:13 +00:00
address_arbiter: Simplify GetThreadsWaitingOnAddress()
Simplifies the overall function and also allows for it to become a const-qualified member function.
This commit is contained in:
parent
3184bdd36c
commit
3105b7864c
2 changed files with 9 additions and 10 deletions
|
@ -86,7 +86,7 @@ private:
|
|||
void RemoveThread(std::shared_ptr<Thread> thread);
|
||||
|
||||
// Gets the threads waiting on an address.
|
||||
std::vector<std::shared_ptr<Thread>> GetThreadsWaitingOnAddress(VAddr address);
|
||||
std::vector<std::shared_ptr<Thread>> GetThreadsWaitingOnAddress(VAddr address) const;
|
||||
|
||||
/// List of threads waiting for a address arbiter
|
||||
std::unordered_map<VAddr, std::list<std::shared_ptr<Thread>>> arb_threads;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue