J Reece Wilson
b6b4ef5dd1
[*] Fixed build errors post refactor [*] Don't create an epoll for a read-poll, reuse fd [+] AuByteBuffer:Allocate(AuUInt length, AuUInt alignment) [*] NT+Linux: Ensure IO buffers are aligned to AuHwInfo::GetPageSize()
18 lines
616 B
C++
18 lines
616 B
C++
/***
|
|
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
File: AFIO.hpp
|
|
Date: 2021-8-21
|
|
Author: Reece
|
|
***/
|
|
#pragma once
|
|
|
|
namespace Aurora::IO::FS
|
|
{
|
|
AUKN_SHARED_API(OpenAsync, IAsyncFileStream,
|
|
const AuString &path,
|
|
EFileOpenMode openMode,
|
|
bool bDirectIO = true, // true disables buffering under Win32
|
|
// true enables non-blocking ticks under Linux aio by bypassing the kernels cache
|
|
EFileAdvisoryLockLevel lock = EFileAdvisoryLockLevel::eNoSafety);
|
|
} |