asyncio: Allow file closes to request a flush/fsyncdata.

This commit is contained in:
Ryan C. Gordon
2024-10-06 02:00:45 -04:00
parent 022a6a9f97
commit 3ca629ceb5
7 changed files with 70 additions and 11 deletions

View File

@@ -68,6 +68,7 @@ struct SDL_AsyncIOTask
SDL_AsyncIOTaskType type;
SDL_AsyncIOQueue *queue;
Uint64 offset;
bool flush;
void *buffer;
char *error;
SDL_AsyncIOResult result;