1 //===-- InputReaderStack.h --------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef liblldb_InputReaderStack_h_
11 #define liblldb_InputReaderStack_h_
15 #include "lldb/lldb-private.h"
16 #include "lldb/Host/Mutex.h"
18 namespace lldb_private {
20 class InputReaderStack
32 Push (const lldb::InputReaderSP& reader_sp);
48 std::stack<lldb::InputReaderSP> m_input_readers;
49 mutable Mutex m_input_readers_mutex;
53 DISALLOW_COPY_AND_ASSIGN (InputReaderStack);
56 } // namespace lldb_private
58 #endif // liblldb_InputReaderStack_h_