期刊文献+

几种典型同步模型的探讨 被引量:1

Discuss on Several Typical Synchronization Models
在线阅读 下载PDF
导出
摘要 从同步线程数量和同步方向角度把同步模型分为六种类型,即单线程-单线程单向同步、单线程-单线程循环双向同步、单线程-多线程单向全部同步、单线程-多线程单向部份同步、多线程-单线程单向全部同步和多线程-单线程单向部份同步。在Windows7+VS2012平台下,使用每线程一窗口的独立窗口过程函数独立处理窗口消息,实现同步线程之间输出无耦合,力求使同步验证简单直观。实践证明,模型分类简单,验证过程有效。 Divide the synchronization(hereinafter referred to as SYN) model into six types from the perspective of synchronous threads number and the SYN direction,including Single-Single Threads(SST) one-way SYN,SST two-way loop SYN,SingleMultiple Threads(SMT) one-way all SYN,SMT one-way partial SYN,MST one-way all SYN and MST one-way partial SYN.In the Windows7+VS2012 platform, with the method of one window per thread and its independent window process function to handle the window message,to achieve non-coupled output between the SYN threads, and strive to make SYN verification simple and intuitive.Practice prove that the model classification is simple and the verification process is effective.
出处 《电脑知识与技术》 2017年第9X期266-268,共3页 Computer Knowledge and Technology
基金 韶关学院校级科研项目(SY2016KJ20)
关键词 线程 进程 同步 并发 并行 thread process synchronization concurrency parallel
  • 相关文献

参考文献5

二级参考文献17

  • 1侯利娟,史长琼,黄红兵.基于Petri网的哲学家就餐问题多线程设计与实现[J].湖南城市学院学报(自然科学版),2006,15(4):64-66. 被引量:1
  • 2刘俊.基于大数据流的Multi-Agent系统模型研究[J].计算机技术与发展,2007,17(5):166-169. 被引量:10
  • 3Stalling W.Operating Systems--Internals and Design Prin-ciples[M].北京:电子工业出版社,2005.
  • 4Bic L F,Shaw A C.Operating Systems Principles[M].北京:清华大学出版社,2004.
  • 5William Stallings.操作系统--精髓与设计原理(第五版)[M].北京:电子工业出版社,2006:80-215.
  • 6汤子赢,等.操作系统教程[M].西安:西安电子科技大学出版社,2007:34-81.
  • 7Bruce Eckel[美].Java编程思想(第四版)[M].陈吴鹏,译.北京:机械工业出版社,2007:650-766.
  • 8Cay S.horstmann,Garyeomell[美].JAVA核心技术(卷1)[M].叶乃文,等译.北京:机械工业出版社,2008:613-681.
  • 9Java SE 6.0帮助文档[EB/OL].http://download.oracle.com/javase/6/docs/api/.
  • 10付长冬,潘清,孟庆余.用户级线程[J].计算机工程与科学,1997,19(2):44-48. 被引量:2

共引文献10

同被引文献7

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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