期刊文献+

基于.NET平台的异步编程实现 被引量:1

Achievemrnt of asynchronous programming based On .NET platform
在线阅读 下载PDF
导出
摘要 开发人员都愿意编写同步代码的原因是简单。但是,如果电脑不能快速响应用户界面的请求,鼠标就会不停地转圈,若在界面上点两下,界面变灰,标题栏上将出现"没有响应",然后使人束手无策。而异步编程则可使运行耗时的操作线程在后台运行,从而使开发人员在无需等待的同时,去执行其他的线程。为此,文中给出了基于.NET平台的异步编程实现方法。 Developers are willing to write synchronization code since it is simple. If the request of user interfase cannot be responded quickly by the computer, the mouse will stop turning in circles, and then if double-tap on the interface is executed, the interface is greyed, and the "not responding" appears on title bar. However, the asynchronous programming can make time-consuming operation thread to run in the background, and make the developers to perform other threads at the same time. A method .NET platformbased asynchronous programming is given in this paper.
作者 周薇
出处 《物联网技术》 2013年第3期53-54,共2页 Internet of things technologies
关键词 同步 异步 线程 NET synchronous code asynchronous programming operation threading
  • 相关文献

参考文献4

  • 1邱涌,肖春宝,白秀玲.可视化程序设计[M].北京:清华大学出版社2011.
  • 2刘培林,黄种,史荧中.c样可视化程序设计案例教程[M].北京机械工业出版社,2009.
  • 3ITl68网页-NET中的异步编程:为什么需要异步[EB/OL].[2011-03-16].http://tech.itl68.com/a201I/0316/1166/000001166863.shtml.
  • 4刘振安.Windows可视化程序设计[M].北京:机械工业出版社,2007.

同被引文献2

引证文献1

二级引证文献6

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部