Changeset View
Changeset View
Standalone View
Standalone View
source/lib/sysdep/os/win/wposix/waio.cpp
Show First 20 Lines • Show All 533 Lines • ▼ Show 20 Lines | static int Issue(aiocb* cb) | ||||
return -1; | return -1; | ||||
} | } | ||||
static bool AreAnyComplete(const struct aiocb* const cbs[], int n) | static bool AreAnyComplete(const struct aiocb* const cbs[], int n) | ||||
{ | { | ||||
for(int i = 0; i < n; i++) | for(int i = 0; i < n; i++) | ||||
{ | { | ||||
if(!cbs[i]) // SUSv3: must ignore NULL entries | if(!cbs[i]) // SUSv3: must ignore nullptr entries | ||||
continue; | continue; | ||||
if(HasOverlappedIoCompleted((OVERLAPPED*)cbs[i]->ovl)) | if(HasOverlappedIoCompleted((OVERLAPPED*)cbs[i]->ovl)) | ||||
return true; | return true; | ||||
} | } | ||||
return false; | return false; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 142 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator