mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-26 07:42:22 -08:00
first pass at more comprehensive async layer, for replacing task system & providing single mechanism for async work, which is currently done ad-hoc in various layers
This commit is contained in:
1 parent
1b5321ad8e
commit
d0b97a3010
9 files changed
+366
-64
No files matched your search
@@ -710,8 +710,13 @@ os_file_iter_next(Arena *arena, OS_FileIter *iter, OS_FileInfo *info_out)
|
||||
internal void
|
||||
os_file_iter_end(OS_FileIter *iter)
|
||||
{
|
||||
OS_W32_FileIter *w32_iter = (OS_W32_FileIter*)iter->memory;
|
||||
FindClose(w32_iter->handle);
|
||||
OS_W32_FileIter *w32_iter = (OS_W32_FileIter*)iter->memory;
|
||||
HANDLE zero_handle;
|
||||
MemoryZeroStruct(&zero_handle);
|
||||
if(!MemoryMatchStruct(&zero_handle, &w32_iter->handle))
|
||||
{
|
||||
FindClose(w32_iter->handle);
|
||||
}
|
||||
}
|
||||
|
||||
//- rjf: directory creation
|
||||
|
||||
Reference in new issue
Block a user