1 //===-- StreamAsynchronousIO.h -----------------------------------*- C++-*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 #ifndef liblldb_StreamAsynchronousIO_h_
10 #define liblldb_StreamAsynchronousIO_h_
12 #include "lldb/Utility/Stream.h"
18 namespace lldb_private {
21 class StreamAsynchronousIO : public Stream {
23 StreamAsynchronousIO(Debugger &debugger, bool for_stdout);
25 ~StreamAsynchronousIO() override;
27 void Flush() override;
30 size_t WriteImpl(const void *src, size_t src_len) override;
38 } // namespace lldb_private
40 #endif // liblldb_StreamAsynchronousIO_h