Run clang-format on PR.
This commit is contained in:
parent
dc70a87af1
commit
08d454e30d
3 changed files with 156 additions and 155 deletions
|
@ -71,7 +71,6 @@ namespace Kernel {
|
||||||
waiting_threads[i]->arb_wait_address = 0;
|
waiting_threads[i]->arb_wait_address = 0;
|
||||||
waiting_threads[i]->ResumeFromWait();
|
waiting_threads[i]->ResumeFromWait();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Signals an address being waited on.
|
// Signals an address being waited on.
|
||||||
|
@ -100,8 +99,10 @@ namespace Kernel {
|
||||||
return SignalToAddress(address, num_to_wake);
|
return SignalToAddress(address, num_to_wake);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Signals an address being waited on and modifies its value based on waiting thread count if equal to the value argument.
|
// Signals an address being waited on and modifies its value based on waiting thread count if equal
|
||||||
ResultCode ModifyByWaitingCountAndSignalToAddressIfEqual(VAddr address, s32 value, s32 num_to_wake) {
|
// to the value argument.
|
||||||
|
ResultCode ModifyByWaitingCountAndSignalToAddressIfEqual(VAddr address, s32 value,
|
||||||
|
s32 num_to_wake) {
|
||||||
// Ensure that we can write to the address.
|
// Ensure that we can write to the address.
|
||||||
if (!Memory::IsValidVirtualAddress(address)) {
|
if (!Memory::IsValidVirtualAddress(address)) {
|
||||||
return ERR_INVALID_ADDRESS_STATE;
|
return ERR_INVALID_ADDRESS_STATE;
|
||||||
|
|
Loading…
Reference in a new issue