1 //===-- SystemLifetimeManager.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 LLDB_INITIALIZATION_SYSTEM_LIFETIME_MANAGER_H
11 #define LLDB_INITIALIZATION_SYSTEM_LIFETIME_MANAGER_H
13 #include "lldb/lldb-private-types.h"
18 namespace lldb_private
20 class SystemInitializer;
22 class SystemLifetimeManager
25 SystemLifetimeManager();
26 ~SystemLifetimeManager();
28 void Initialize(std::unique_ptr<SystemInitializer> initializer, LoadPluginCallbackType plugin_callback);
32 std::recursive_mutex m_mutex;
33 std::unique_ptr<SystemInitializer> m_initializer;
37 SystemLifetimeManager(const SystemLifetimeManager &other) = delete;
38 SystemLifetimeManager &
39 operator=(const SystemLifetimeManager &other) = delete;