共查询到19条相似文献,搜索用时 109 毫秒
1.
对用VC++开发多线程及其同步技术的应用研究 总被引:3,自引:0,他引:3
多线程技术在数据采集、通信、数据库应用等领域有着广泛的应用,VC、Java,Delphi等主流语言对多线程有着良好的支持,本文从程序开发角度,应用VC的MFC(微软基类库),讲述了多线程开发的一些基本概念,基本方法,特别地、对线程同步的几种常用方式进行了分析介绍。 相似文献
2.
3.
4.
以Microsoft Visual C 6.0为开发工具,应用Win95/98提供的多线程技术,在重油微反控制软件中实现了软件的实时控制性能。通过源代码剖析,详细阐述了多线程编程的实现方法以及如何安全地在多个线程间共享数据和通信。 相似文献
5.
浅谈多线程编程技术及方法 总被引:1,自引:0,他引:1
分析分解任务的方式方法,讨论VC++下实现多线程编程中的同步技术的方法,有利于更好地运用多线程编程技术开发出高效灵活的多线程应用程序。 相似文献
6.
C++Builder开发多线程应用程序 总被引:2,自引:0,他引:2
小月 《电脑编程技巧与维护》2005,(1):28-33
所谓多线程是指一个应用程序具有多个并发的程序执行的线路,它是Windows操作系统的一个重要特征。经过精心策划的多线程应用程序可以避免程序运行的瓶颈,大大增强程序的性能。 相似文献
7.
用多线程枝术实现Winsock编程 总被引:4,自引:0,他引:4
本文在对Windows网络(WinSocK)编程作一般性介绍的基础上,对在VisualC++6.0环境下的如何进行网络编程以及如何使用多线程进行网络编程作了介绍和示范,通过本文读者可以掌握简单的网络编程,并学会使用多线程来进行网络编程。 相似文献
8.
9.
10.
11.
根据PB的多层应用编程实践,深刻剖析了PB中几个关于多线程技术的函数,提出了完全采用PB函数实现多线程技术的方法,并详细阐述了多线霉技术实例的具体实现过程。这种方法避免了与其它语言集成编程实现多线程应用的诸多不便,而且具有稳定性好和运行效率高的特点。 相似文献
12.
13.
14.
15.
多线程技术及其在电脑游戏中的应用 总被引:4,自引:0,他引:4
对多线程的概念进行了分析,在游戏的轮流模型中,针对实现多人游戏(或多游戏机灵)目标动作的内存消耗和编程的复杂化的问题,提出并实现了一个基于多线程的游戏模型和应用实例。讨论了多线程游戏模型中的通信和同步,提出了用多线程技术开发游戏软件时所面临的新问题。 相似文献
16.
Satoshi Amamiya Makoto Amamiya Ryuzo Hasegawa Hiroshi Fujita 《The Journal of supercomputing》2009,47(2):228-252
Current trend of research on multithreading processors is toward the chip multithreading (CMT), which exploits thread level
parallelism (TLP) and improves performance of softwares built on traditional threading components, e.g., Pthread. There exist
commercially available processors that support simultaneous multithreading (SMT) on multicore processors. But they are basically
based on the conventional sequential execution model, and execute multiple threads in parallel under the control of OS that
handles interruptions. Moreover, there exist few languages or programming techniques to utilize the multicore processors effectively.
We are taking another approach to develop a multithreading processor, which is dedicated to TLP. Our processor, named Fuce, is based on the continuation-based multithreading. A thread is defined as a block of sequentially ordered instructions which
are executed without interruption. Every thread execution is triggered only by the event called continuation.
This paper first introduces the continuation-based multithread execution model and its processor architecture then gives multithreaded
programming techniques and the continuation-based multithreading language system CML. Last, the performance of the Fuce processor is evaluated by means of the clock-level software simulation. 相似文献
17.
将软件进行多线程改进,可以解决软件并行性问题,能够显著提升软件的运行效率。但如果软件改进的方法不当很容易造成系统不稳定。该丈简要介绍了线程与进程的特点与差异,对在Linux操作系统环境下软件多线程与多进程的执行效率进行了对比,分析了产生这种执行效率差异的原因以及多线程与多进程技术应用在软件各方面改进时的优劣,并提出了实施软件改进的策略与实现方法。 相似文献
18.
叙述了PC机与嵌入式计算机系统的多线程串行通信的实现。介绍了多线程设计思想的必要性,给出了程序设计流程。 相似文献
19.
比较了Windows下的三种串口通信编程方法,画出了CSerialPort类多线程串口通信的模型框图,给出了VC 下多线程串口通信的编程实现方法. 相似文献