并发程序设计——C++ Builder中多线程的实现  被引量:1

Concurrent programming --The realization of multithread in C++ Builder

在线阅读下载全文

作  者:张志军[1] 李晓东 潘华丽[3] 

机构地区:[1]山东建筑工程学院计算机科学与技术系,山东济南250014 [2]济南市市政一公司,山东济南250031 [3]山东师范大学2000级研究生,山东济南250014

出  处:《山东建筑工程学院学报》2001年第4期89-92,共4页Journal of Shandong Institute of Architecture and Engineering

摘  要:探索了线程、多线程程序编制的概念 ,对线程和进程两个概念进行了区分 ,介绍了线程同步问题以及可能存在的危险。以C + +Builder为例 ,介绍了线程的创建 ,多线程同步的实现方法 (使用临界区 ,使用互斥量 ,使用事件 ) ,如何实现进程的控制。熟练掌握它 ,能够使程序更快 ,更灵敏 。Based on the clear explanation of thread, multithread and process, the possible dangers in operating systems and implications of thread synchronization are introduced. The C++Builder is cited as an instance to illustrate the thread establishment, realizing method of process control and that of multithread synchronization, which includes applications of the critical section, mutex signal and affair. This method increases the operating speed and delicacy of the program and improves the resource utilization ratio and the system throughput.

关 键 词:线程 多线程 程序设计 操作系统 C++BUILDER 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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