mirror of
https://github.com/decompals/wibo.git
synced 2025-12-12 06:45:05 +00:00
Implement async (overlapped) I/O with io_uring
This commit is contained in:
@@ -2906,7 +2906,7 @@ namespace msvcrt {
|
||||
|
||||
if (mode == P_WAIT) {
|
||||
std::unique_lock lk(po->m);
|
||||
po->cv.wait(lk, [&] { return po->signaled.load(); });
|
||||
po->cv.wait(lk, [&] { return po->signaled; });
|
||||
return static_cast<intptr_t>(po->exitCode);
|
||||
}
|
||||
|
||||
@@ -2955,7 +2955,7 @@ namespace msvcrt {
|
||||
|
||||
if (mode == P_WAIT) {
|
||||
std::unique_lock lk(po->m);
|
||||
po->cv.wait(lk, [&] { return po->signaled.load(); });
|
||||
po->cv.wait(lk, [&] { return po->signaled; });
|
||||
return static_cast<intptr_t>(po->exitCode);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user