C#后台处理与多线程技术的应用  被引量:13

The Practical Application of C# Background Processing and Multi-Threading Technology

在线阅读下载全文

作  者:卜春芬[1] 

机构地区:[1]昆明学院物理科学与技术系,云南昆明650031

出  处:《昆明学院学报》2010年第3期82-85,共4页Journal of Kunming University

摘  要:计算机后台处理和多线程技术主要用于处理并行业务,使前台程序和后台程序同步执行,防止程序"假死".在微软新一代的.net编程平台中,提供了4种实现后台处理和多线程的编程方法:BackgroundWorker控件专门处理后台程序;Threading类和ThreadPool类实现多线程编程;Timer类实现定时处理.结果表明,多线程编程可增加程序执行的效率,缩短程序总体运行时间.The background processing and multi-threading technology provides a way for Parallel work to make the foreground program and background program processed at same time to avoid application suspending.In the last version of.net platform,there are four components provided for background processing and multi-threading technology: Background Worker provides an easy way to run time-consuming operations on a background thread;Threading and Thread pool enable multithreaded programming;Timer provides a mechanism for executing a method at specified intervals.According to the practice,the application gets better efficiency and shorter time cost with multi-threading programming.

关 键 词:多线程 控件 线程 线程池 计时器 

分 类 号:TP311.5[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象