3 using System.Threading;
7 public static void Main ()
11 Thread t1 = Thread.CurrentThread;
13 Thread t2 = new Thread (() => {
19 } catch (ThreadStateException) {
30 for (int i = 0; i < 50 * 40 * 20; ++i) {
31 Thread.CurrentThread.Suspend ();
32 if ((i + 1) % (50) == 0)
34 if ((i + 1) % (50 * 40) == 0)