Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/spring-mvc/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Windows mobile 6.1 Windows mobile多任务处理在CF 3.5中无法完美工作_Windows Mobile 6.1 - Fatal编程技术网

Windows mobile 6.1 Windows mobile多任务处理在CF 3.5中无法完美工作

Windows mobile 6.1 Windows mobile多任务处理在CF 3.5中无法完美工作,windows-mobile-6.1,Windows Mobile 6.1,Windows mobile多任务处理在CF 3.5中无法完美工作。当我运行多任务时,剩下的函数不能完美工作 Thread internetStatusDisplayThread = new Thread(startInternetCheck); internetStatusDisplayThread.Start(); private void startInternetCheck() { while(

Windows mobile多任务处理在CF 3.5中无法完美工作。当我运行多任务时,剩下的函数不能完美工作

        Thread internetStatusDisplayThread = new Thread(startInternetCheck);
        internetStatusDisplayThread.Start();
          private void startInternetCheck()
          {
           while(isTreadRunning)
           {
            bool internetAvailable = new SecurityManager().IsInternetIsAvailable();
            if (internetAvailable)
            {
                this.Invoke(controlUpdator, noInternetImage, false);
            }
            else
            {
                this.Invoke(controlUpdator, noInternetImage, true);
            }
            internetStatusDisplayThread.IsBackground = true;
            internetStatusDisplayThread.Priority = ThreadPriority.Lowest;

            Thread.Sleep(5000);
           }
          }
        private delegate void InternetStausUpdator(Control uiControl, bool status );
这个。调用(…);更改为此。BeginInvoke(…)。现在它运行良好