This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
hummingbird
/
idgenerator
Not watched
Unwatch
Watch all
Watch but not notify
2
Star
0
Fork
0
Code
Releases
6
Wiki
Activity
Issues
5
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
在循环获取下一时间戳时,暂停1ms
tags/v1.3.1
yitter
2 years ago
parent
72cdb85d1d
commit
848cd3bb6f
2 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
C#.NET/source/Yitter.IdGenerator/Core/SnowWorkerM1.cs
+1
-0
Java/source/src/main/java/com/github/yitter/core/SnowWorkerM1.java
+ 1
- 0
C#.NET/source/Yitter.IdGenerator/Core/SnowWorkerM1.cs
View File
@@ -351,6 +351,7 @@ namespace Yitter.IdGenerator
while (tempTimeTicker <= _LastTimeTick)
{
Thread.Sleep(1);
tempTimeTicker = GetCurrentTimeTick();
}
+ 1
- 0
Java/source/src/main/java/com/github/yitter/core/SnowWorkerM1.java
View File
@@ -214,6 +214,7 @@ public class SnowWorkerM1 implements ISnowWorker {
long tempTimeTicker = GetCurrentTimeTick();
while (tempTimeTicker <= _LastTimeTick) {
Thread.sleep(1);
tempTimeTicker = GetCurrentTimeTick();
}
Write
Preview
Loading…
Cancel
Save