private void createWorker()
 {
     var w = new Worker(url);
     w.OnComplete += addResult;
     new Thread(w.Run).Start();
     Interlocked.Increment(ref WorkersStarted);
 }
 public void Run()
 {
     for (var x = 0; x < hammers; x++)
     {
         var w = new Worker(url);
         w.OnComplete += doMath;
         new Thread(w.Run).Start();
     }
 }