mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 10:51:50 -05:00
Kernel/Semaphore: Small style change
This commit is contained in:
parent
effb181888
commit
ea95876431
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ public:
|
|||
}
|
||||
|
||||
ResultVal<bool> WaitSynchronization() override {
|
||||
bool wait = available_count == 0;
|
||||
bool wait = !IsAvailable();
|
||||
|
||||
if (wait) {
|
||||
Kernel::WaitCurrentThread(WAITTYPE_SEMA, GetHandle());
|
||||
|
|
Loading…
Reference in a new issue