From 5fb6e039362b5a116cc40dc57c0a23b2dee1dd2b Mon Sep 17 00:00:00 2001 From: yitter Date: Sat, 27 Mar 2021 21:14:12 +0800 Subject: [PATCH] auto commit --- C#.NET/source/Yitter.IdGenTest/Program.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/C#.NET/source/Yitter.IdGenTest/Program.cs b/C#.NET/source/Yitter.IdGenTest/Program.cs index aff8cb5..8c8cc9c 100644 --- a/C#.NET/source/Yitter.IdGenTest/Program.cs +++ b/C#.NET/source/Yitter.IdGenTest/Program.cs @@ -54,17 +54,17 @@ namespace Yitter.OrgSystem.TestA while (true) { - RunSingle(); + //RunSingle(); // Go(options); - // RustDll(); + CallDll(); Thread.Sleep(1000); // 每隔1秒执行一次Go } } - [DllImport("yitidgen.dll", CallingConvention = CallingConvention.StdCall)] + [DllImport("yitidgenc.dll", CallingConvention = CallingConvention.StdCall)] public static extern long NextId(); - private static void RustDll() + private static void CallDll() { int i = 0; long id = 0;