mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-24 03:36:52 -04:00
kern: improve KSynchronizationObject, kill KSynchronization
This commit is contained in:
parent
b60054dba1
commit
1852fe8612
11 changed files with 132 additions and 259 deletions
|
@ -72,7 +72,7 @@ namespace ams::kern::svc {
|
|||
/* Wait for a message. */
|
||||
while (true) {
|
||||
s32 index;
|
||||
Result result = Kernel::GetSynchronization().Wait(std::addressof(index), objs, num_objects, timeout);
|
||||
Result result = KSynchronizationObject::Wait(std::addressof(index), objs, num_objects, timeout);
|
||||
if (svc::ResultTimedOut::Includes(result)) {
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue