Browse Source

auto commit

tags/v1.0.0
yitter 3 years ago
parent
commit
5fb6e03936
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      C#.NET/source/Yitter.IdGenTest/Program.cs

+ 4
- 4
C#.NET/source/Yitter.IdGenTest/Program.cs View File

@@ -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;


Loading…
Cancel
Save