4 // http://bugzilla.ximian.com/show_bug.cgi?id=76047
8 using System
.Threading
;
12 static int loops
= 20;
13 static int threads
= 100;
15 static void Empty () {}
17 static void Create () {
18 Thread t
= new Thread (new ThreadStart (Empty
));
27 for (int i
= 0; i
< threads
; i
++)
28 new Thread (new ThreadStart (Create
)).Start ();
31 public static void Main (String
[] args
) {
33 loops
= int.Parse (args
[0]);
35 threads
= int.Parse (args
[1]);
36 for (int i
= 0; i
< loops
; ++i
) {