首页 | 本学科首页   官方微博 | 高级检索  
     

Delphi多线程的安全问题分析及解决
引用本文:申利永,张永强,田紫君,安新. Delphi多线程的安全问题分析及解决[J]. 信息技术, 2005, 29(5): 105-107
作者姓名:申利永  张永强  田紫君  安新
作者单位:河北工程学院,邯郸,056038
摘    要:分析了多线程安全问题产生的原因,并具体介绍了通过Windows API直接使用Windows提供的临界区、互斥量技术和Delphi内部提供了方法来解决线程同步的问题,以及捕捉Thread的异常,最终达到多线程程序安全运行的目的。

关 键 词:多线程  临界区  同步  互斥
文章编号:1009-2552(2005)05-0105-03
修稿时间:2005-03-17

Analysis and solving for safe issue of Delphi multithreading
SHEN Li-yong,ZHANG Yong-qiang,TIAN Zi-jun,An Xin. Analysis and solving for safe issue of Delphi multithreading[J]. Information Technology, 2005, 29(5): 105-107
Authors:SHEN Li-yong  ZHANG Yong-qiang  TIAN Zi-jun  An Xin
Abstract:This article analysed the reason of multithreading safty issue, concretely introduced how to use directly critical area, mutex technology of Windows by Windows API and function of Dephi's inside to settle thread synchronization, and caught the abnormity of Thread, achieved the purpose of the multithreading procedure safe operation finally.
Keywords:multithreading  critical zone  synchronization  mutex
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号