期刊文献+

软任务单线程模拟多线程

Simulation of Multi-Thread Using Single Thread by Software Task
下载PDF
导出
摘要 由于多线程具有并发执行、资源共享、切换时CPU资源利用率低等优点,而被广泛使用。然而,其并发执行的特点也是容易引起安全问题的根源。因为并发执行容易导致"竞争"现象。从安全问题作为切入点,介绍一种利用单线程模拟多线程的方法,具体分析其原理、算法和使用,避免多线程引发的问题。 Muhi-thread is widely used because of its subsequent implement, sharing resource and the lower utilization ratio of CPU resource at the time of switching thread, etc. However, just its subsequent implement is the reason of easily inducing the security issue. Subsequent implement easily lead to the phenomena of "competition". Discusses the security issue of multithread. By this discussion, introduces a simulation of multi-thread using single thread will be introduced in order to avoiding the security issue caused by multi-thread. Analyses the theory and arithmetic, then introduces the using of method.
作者 宣伟
出处 《现代计算机》 2009年第7期118-120,共3页 Modern Computer
关键词 进程 多线程 安全性 模拟 Process Thread Security Simulation
  • 相关文献

参考文献1

  • 1(美)KurtWall等著,张辉.GNU/Linux编程指南[M]清华大学出版社,2002.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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