Reece
7fde7d04fb
[+] IIOBufferedStreamAvailable callback [+] IIOProcessor singleshot work items / IIOProcessorWorkUnit [+] IOPipeCallback description of a pipes destination [+] IOPipeInputData description of a pipes source [+] IOPipeRequest, IOPipeRequestAIO, IOPipeRequestBasic [+] IPipeBackend hooks for on start/end hooks of IOPipeRequestBasics [*] Update IOAdapaterAsyncStream implementation to better support caller buffering [*] Updated IAsyncStreamReader to include a warm/dequeue API for direct async usage [*] Fix NT IO regressions [*] Fix ThreadPool shutdown on an unregistered thread [*] Fix race condition in Async.NT.cpp & fix signalable state to closely match Linux (dunno how this was passing before) [*] Refactor IOProcessorWorkUnit -> IIOProcessorWorkUnit [*] Update experimental header to include the changes
24 lines
545 B
C++
24 lines
545 B
C++
/***
|
|
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
|
|
|
File: IOPipeProcessor.hpp
|
|
Date: 2022-6-6
|
|
Author: Reece
|
|
***/
|
|
#pragma once
|
|
|
|
namespace Aurora::IO
|
|
{
|
|
struct IOProcessor;
|
|
|
|
struct IOPipeProcessor : IIOPipeProcessor
|
|
{
|
|
IOPipeProcessor(IOProcessor *parent);
|
|
|
|
virtual AuSPtr<IIOPipeWork> NewBasicPipe(const IOPipeRequestBasic &request) override;
|
|
|
|
virtual AuSPtr<IIOPipeWork> NewAIOPipe(const IOPipeRequestAIO &request) override;
|
|
|
|
IOProcessor *parent_;
|
|
};
|
|
} |