Beispiel #1
0
        static public void StartAllThreads()
        {
            FoxEventLog.VerboseWriteEventLog("StartAllThreads()", System.Diagnostics.EventLogEntryType.Information);
            ReportingThreadHandle1 = new Thread(new ThreadStart(ReportingThread1));
            ReportingThreadHandle2 = new Thread(new ThreadStart(ReportingThread2));
            PolicyThreadHandle     = new Thread(new ThreadStart(PolicyThread));
            DownloadThreadHandle   = new Thread(new ThreadStart(DownloadThread));
            ReportingThreadHandle1.Start();
            ReportingThreadHandle2.Start();
            PolicyThreadHandle.Start();
            DownloadThreadHandle.Start();
            PushMain0.StartPushThread();
            PushMain1.StartPushThread();
            PushMain2.StartPushThread();
#if ENABLECHAT
            PushMain10.StartPushThread();
#endif
            UpdateCheck.RunUpdateCheckAndHouseKeepingThread();
            DownloadSystemFSData.StartThread();
            if (SystemInfos.SysInfo.RunningInWindowsPE == false || SystemInfos.SysInfo.RunningInWindowsPE == null)
            {
                LocalPackagesHandle = new Thread(new ThreadStart(LocalPackagesThread));
                LocalPackagesHandle.Start();
            }

            FoxEventLog.VerboseWriteEventLog("StartAllThreads() - DONE", System.Diagnostics.EventLogEntryType.Information);
        }