登录
首页 » C# » 多线程异步编程实例 Thread Async

多线程异步编程实例 Thread Async

于 2012-12-27 发布
0 206
下载积分: 1 下载次数: 0

代码说明:

多线程、异步

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • C#通信调试工具1.0(带源码)
    【实例简介】C#通信调试工具1.0(带源码) 串口通信,网络通信,很好用的工具。
    2022-01-08 00:31:33下载
    积分:1
  • C#自动更新服务(本地服务安装)
    using System;using System.Collections.Generic;using System.Linq;using System.Text;using Common.WinService;using Common.Log;using System.Threading;using Common.Net;using System.Text.RegularExpressions;namespace Collection.AutoRunner{    //获取学生信息    public class Service_Update_Data : IWindowsService    {        private ILogWriter _logWriter = null;        private const string logCategory = "Services.Info";        private string logInfoSource = "Update_Data";        private const string logErrorCategory = "Services.Error";        private const string logErrorSource = "Update_Data_Error";        private bool BeStop = true;        private System.Timers.Timer timer = null;        public void Start(Common.Log.ILogWriter logWriter, string gameCode)        {            gameCode = gameCode.ToUpper();            logInfoSource = gameCode;            _logWriter = logWriter;            BeStop = false;            StartRequestData();        }        int stata = 0;        private void StartRequestData()        {            try            {                #region 配置                //时间频率                var UpdateStudentSpan = ServiceHelper.GetInterval("UpdateData");                //更新学生开始时间                var studentbegintime = ServiceHelper.GetInterval("StudentBeginTime");                //更新学生结束时间                var studentendtime = ServiceHelper.GetInterval("StudentEndTime");                    //是否更新学生基本信息:true为更新 false为不更新                var IsUpdateStudnet =Convert.ToBoolean(ServiceHelper.GetSystemConfig("IsUpdateStudnet"));                                #endregion                timer = ServiceHelper.ExcuteByTimer(UpdateStudentSpan, () =>                {                    int timeHour = DateTime.Now.Hour;                    if (timeHour == 3)                        stata = 0;                    #region 更新学生基本信息                    if (studentbegintime
    2015-03-11下载
    积分:1
  • windows32
    此是外国书籍的源代码,中文名叫:WINDOWS32位编程,好似吧. 此书很经典的,作为学习windows32位编程的朋友而言,当然,源码可能是你们所要的.(this foreign books of source code, the Chinese name : WINDOWS32-programming, like it. The book is classic, as a learning-programming windows32 friends, of course, FOSS may be what you need.)
    2006-12-26 12:35:45下载
    积分:1
  • ben_ke_jiao_wu_xi_tong
    纯C++代码,在大部分编译环境下编译通过。支持不同级别用户具有不同修改查看权限。支持鼠标点击,具有炫丽的鼠标悬停效果(Pure C++ code, in most compiler environment compile. Support for different levels of users with different permissions to modify the view. Support mouse clicks, mouse-over effects with dazzling)
    2013-10-18 10:05:47下载
    积分:1
  • Port_and_Process
    是一个端口关联进程的C源代码(Is a port associated process C source code)
    2008-08-24 18:27:26下载
    积分:1
  • cputime
    此程序主要用于计算算法中CPU运行时间的长短,这样可以判断算法的优劣(This procedure the main algorithm used to calculate the CPU to run the length of this algorithm can determine the merits of)
    2009-02-24 16:29:38下载
    积分:1
  • FatigueTest
    试验检测系统,是为摩托车上泵和制动钳提供检测的而开发的(Test。。。。。。。。。。。。。。。。。。。。。。。。。。。。。)
    2009-11-17 16:26:04下载
    积分:1
  • GetSystemVer
    Windows下获取操作系统版本信息的小程序(Windows operating system version information under the access of small procedures)
    2009-02-06 12:01:21下载
    积分:1
  • 监听所有请求(含 js/css/flash/ajax 等请求) 附完整源码
    监听webbrowser的所有请求以及查看 请求的详细,含session cookie 请求标题等信息
    2015-03-06下载
    积分:1
  • wendang
    让系统查找某一程序进程被关闭则运行关机命令(The system to find a program process is shut down while running shutdown command)
    2016-05-08 11:01:59下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载