public static SleepInSeconds ( int seconds ) : void | ||
seconds | int | |
return | void |
public static void SleepInSeconds(int seconds)
{
SleepInSeconds((uint)seconds);
}
Thread::SleepInSeconds ( uint seconds ) : void |
public static void WaitTillAllComplete(this Threadable[] threads) { bool end = false; while (!end) { end = true; foreach (Threadable thread in threads) { if (thread.isRunning) { end = false; break; } } if (!end) { Thread.SleepInSeconds(3); } } }