4 // http://bugzilla.ximian.com/show_bug.cgi?id=72741
8 using System.Threading;
11 static int loops = 20;
12 static int threads = 100;
14 static void worker () {
20 Thread[] ta = new Thread [threads];
21 for (int i = 0; i < threads; ++i) {
22 ta [i] = new Thread (new ThreadStart (worker));
25 for (int i = 0; i < threads; ++i) {
29 static void Main (string[] args) {
31 loops = int.Parse (args [0]);
33 threads = int.Parse (args [1]);
34 for (int i = 0; i < loops; ++i) {