Наша сборка Qt VS Tools
giy
2022-09-02 ca47896204482bf4a6979e3838bf7f09f61cebeb
QtVsTools.Package/Common/Timestamp.cs
@@ -30,8 +30,12 @@
namespace QtVsTools
{
    using Common;
    public class Timestamp : Concurrent<Timestamp>
    {
        static LazyFactory StaticLazy { get; } = new LazyFactory();
        long LastTimestamp { get; set; }
        long GetStrictMonotonicTimestamp()
        {
@@ -43,9 +47,8 @@
            }
        }
        static Timestamp _Instance;
        static Timestamp Instance =>
            StaticThreadSafeInit(() => _Instance, () => _Instance = new Timestamp());
        static Timestamp Instance => StaticLazy.Get(() =>
            Instance, () => new Timestamp());
        public static long Next()
        {