CR actions
This commit is contained in:
parent
55c9162d02
commit
6783289909
1 changed files with 2 additions and 2 deletions
|
@ -81,12 +81,12 @@ std::shared_ptr<AddressArbiter> KernelSystem::CreateAddressArbiter(std::string n
|
||||||
|
|
||||||
class AddressArbiter::Callback : public WakeupCallback {
|
class AddressArbiter::Callback : public WakeupCallback {
|
||||||
public:
|
public:
|
||||||
Callback(AddressArbiter& _parent) : parent(_parent) {}
|
explicit Callback(AddressArbiter& _parent) : parent(_parent) {}
|
||||||
AddressArbiter& parent;
|
AddressArbiter& parent;
|
||||||
|
|
||||||
void WakeUp(ThreadWakeupReason reason, std::shared_ptr<Thread> thread,
|
void WakeUp(ThreadWakeupReason reason, std::shared_ptr<Thread> thread,
|
||||||
std::shared_ptr<WaitObject> object) override {
|
std::shared_ptr<WaitObject> object) override {
|
||||||
parent.WakeUp(reason, thread, object);
|
parent.WakeUp(reason, std::move(thread), std::move(object));
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in a new issue