17 lines
603 B
C++
17 lines
603 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
|
|
{
|
|
// WARNING: AURORA::IO::FS ASYNC IS NOT THREAD SAFE
|
|
// You can use the synchronization objects for the purpose of cross-thread synchronization
|
|
// However, IAsyncTransaction should not be accessed from differing threads.
|
|
|
|
AUKN_SHARED_API(OpenAsync, IAsyncFileStream, const AuString &path, EFileOpenMode openMode, bool directIO = false, EFileAdvisoryLockLevel lock = EFileAdvisoryLockLevel::eNoSafety);
|
|
} |