vcpkg/toolsrc/include/vcpkg_GlobalState.h

19 lines
397 B
C
Raw Normal View History

2017-08-24 07:17:53 +08:00
#pragma once
#include <atomic>
#include "vcpkg_Chrono.h"
#include "vcpkg_Util.h"
2017-08-24 07:17:53 +08:00
namespace vcpkg
{
struct GlobalState
{
static Util::LockGuarded<ElapsedTime> timer;
static std::atomic<bool> debugging;
static std::atomic<bool> feature_packages;
static std::atomic<int> g_init_console_cp;
static std::atomic<int> g_init_console_output_cp;
2017-08-24 07:17:53 +08:00
};
}