//===-- MainLoopPosix.h -----------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifndef LLDB_HOST_POSIX_MAINLOOPPOSIX_H #define LLDB_HOST_POSIX_MAINLOOPPOSIX_H #include "lldb/Host/Config.h" #include "lldb/Host/MainLoopBase.h" #include "lldb/Host/Pipe.h" #include "llvm/ADT/DenseMap.h" #include <atomic> #include <csignal> #include <list> #include <vector> namespace lldb_private { // Implementation of the MainLoopBase class. It can monitor file descriptors for // readability using ppoll, kqueue, or pselect. In addition to the common base, // this class provides the ability to invoke a given handler when a signal is // received. class MainLoopPosix : public MainLoopBase { … }; } // namespace lldb_private #endif // LLDB_HOST_POSIX_MAINLOOPPOSIX_H