Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            // optimize jit compile on multi-core systems.
            ProfileOptimization.SetProfileRoot(ParseConfigManager.GetStorePath());
            ProfileOptimization.StartProfile("uProveWebService.Profile");


            SetupLoggers();

            UProveThreadWorkerIssuer workerThread = new UProveThreadWorkerIssuer();
            Thread interOp = new Thread(new ThreadStart(workerThread.Startup));

            interOp.IsBackground = true;
            interOp.Start();

            UProveThreadWorkerProver workerThreadProver = new UProveThreadWorkerProver();
            Thread interOpProver = new Thread(new ThreadStart(workerThreadProver.Startup));

            interOpProver.IsBackground = true;
            interOpProver.Start();

            UProveThreadWorkerInfo workerThreadInfo = new UProveThreadWorkerInfo();
            Thread interOpInfo = new Thread(new ThreadStart(workerThreadInfo.Startup));

            interOpInfo.IsBackground = true;
            interOpInfo.Start();



            Console.ReadLine();
            workerThread.Dispose();
            workerThreadInfo.Dispose();
        }
Ejemplo n.º 2
0
    static void Main(string[] args)
    {
      // optimize jit compile on multi-core systems.
      ProfileOptimization.SetProfileRoot(ParseConfigManager.GetStorePath());
      ProfileOptimization.StartProfile("uProveWebService.Profile");


      SetupLoggers();

      UProveThreadWorkerIssuer workerThread = new UProveThreadWorkerIssuer();
      Thread interOp = new Thread(new ThreadStart(workerThread.Startup));
      interOp.IsBackground = true;
      interOp.Start();

      UProveThreadWorkerProver workerThreadProver = new UProveThreadWorkerProver();
      Thread interOpProver = new Thread(new ThreadStart(workerThreadProver.Startup));
      interOpProver.IsBackground = true;
      interOpProver.Start();

      UProveThreadWorkerInfo workerThreadInfo = new UProveThreadWorkerInfo();
      Thread interOpInfo = new Thread(new ThreadStart(workerThreadInfo.Startup));
      interOpInfo.IsBackground = true;
      interOpInfo.Start();




      Console.ReadLine();
      workerThread.Dispose();
      workerThreadInfo.Dispose();

    }