✪ DuckS ⭕⃤
IDK   Singapore
 
 
Here it is
fun daysBeforeDoom() {
return doomTime - System.currentTimeMillis()) / millisInDay
}while (true) {
Thread.sleep(ONE_DAY)
println(“${daysBeforeDoom()} days left till the doomsday”)
}
while (true) {
Thread.sleep(ONE_DAY)
println(“${daysBeforeDoom()} days left till the doomsday”)
}
increaseTime(ONE_DAY)
waitUntilThreadsAreFrozen(1_000/ms, timeout/)
checkMessage()
long timeMillis();
long nanoTime();
void sleep(long millis) throws InterruptedException;
void sleep(long millis, int nanos) throws InterruptedException;
void waitOn(Object monitor, long millis) throws InterruptedException;
void waitOn(Object monitor, long millis, int nanos) throws InterruptedException;
void notifyAll(Object monitor);
void notify(Object monitor);
void park(boolean isAbsolute, long time);
void unpark(Object thread);
@Before
public void setup() {
// Use TestTimeProvider for this test
TestTimeProvider.start(/* initial time could be passed here /);
}

@After
public void reset() {
// Reset time provider to default after the test execution
TestTimeProvider.reset();
}

@Test
public void test() {
runMyConcurrentApplication();
TestTimeProvider.increaseTime(60_000 /ms/);
TestTimeProvider.waitUntilThreadsAreFrozen(1_000 /ms*/);
checkMyApplicationState();
}
В сети
Любимая группа
9
Участники
0
в игре
1
в сети
0
В чате
Любимая игра
36
Часов сыграно
22
Достижений
Витрина редчайших достижений
Недавняя активность
2 039 ч. всего
последний запуск 1 сен
8 ч. всего
последний запуск 15 авг
229 ч. всего
последний запуск 4 авг
Комментарии
SmOke 28 авг в 14:50 
+Rep friendly player and good teammate :D
Anaris 24 авг в 12:30 
nice friend
Valdex 18 авг в 9:56 
+rep
Mitaxe 25 июл в 7:32 
Lets play one more round?
~^𝒜𝓁𝒾𝓃𝓀𝒶^~ 4 июл в 20:41 
═══════════ 🔱🔱🔱🔱🔱🔱🔱═════════════
🧡 Cool Guy 🧡
⚡⚡ Let’s be friends for future games ⚡⚡

🌟🌟 Have a wonderful year🌟🌟
💫💫 Loving CS💫💫

🔥🔥🔥+REP for China 🔥🔥🔥


════════════🔱🔱🔱🔱🔱🔱═════════════
Manallador 1 июл в 10:16 
Impressive play