搜索资源列表
学习多线程之一:线程通信--利用事件对象
- 多线程编程系列。使用事件进行线程间的通讯。一个不错的实例代码。-series of multi-threaded programming. The use of the incident to communications between the threads. A good example code.
page56
- 刊登在2005年第2期的代码,代码演示了在Visual C++中利用自定义消息实现线程间通讯。-published in 2005, two of code, code demonstrating the use of Visual C since the definition of news to achieve communication between threads.
CHAP06
- 本压缩文件为东方天华主编的Visual C++.Net范例入门与提高第六章的代码,其中包含如下程序的代码。 6.1 隐式调用动态链接库 6.2 显式调用动态链接库 6.3 创建Win32 DLL实例 6.4 线程间的通讯 6.5 线程间的优先级 6.6 线程间的同步 6.7 创建子进程 6.8 进程间共享数据
NetProgramming
- 本书讲述了网络编程的各个方面,基于NetBios,基于TCP/IP,进程间通讯,多线程结构以及动态库
MulThreadclass
- 感觉多线程确实麻烦,线程间要处理好同步与通讯,如果用CWinThread好一点,直接是一个线程对象,如果用AfxBeginThread,那必须定个全局函数,或者写个静态函数,一般是传个this指针进去,然后再用这个指针调用本类函数的成员函数,用起来比较麻烦,现在问题是能不能不用全局或者静态函数来实现呢,于是我实现了这个类,来所简化多线程的创建和关闭的操作。
会话程序
- 线程的概念、属性;线性创建的2种方式及其联系、区别和使用场合;线程的生命周期和5种状态;线程状态控制的一般方法;线程同步的概念、原理;线程同步的场合、线程同步的条件、同步对象的选取;线程间通讯的概念,与线程同步的区别;notify和wait的使用方法。两类socket通信的概念、特点、应用场合;两类socket通信的客户和服务端的基本步骤;组播通信的概念、组播客户端服务端的基本结构。-threads concept attribute; The creation of two linear mo
vc++多线程
- 多线程编程 进程和线程都是操作系统的概念。进程是应用程序的执行实例,每个进程是由私有的虚拟地址空间、代码、数据和其它各种系统资源组成,进程在运行过程中创建的资源随着进程的终止而被销毁,所使用的系统资源在进程终止时被释放或关闭。 线程是进程内部的一个执行单元。系统创建好进程后,实际上就启动执行了该进程的主执行线程,主执行线程以函数地址形式,比如说main或WinMain函数,将程序的启动点提供给Windows系统。主执行线程终止了,进程也就随之终止。 每一个进程至少有一个主执行线
multhread
- 多线程编程:Win32 API多线程编程例程、MFC中的多线程开发、线程间通讯、线程的同步。-Multi-threaded programming: Win32 API routine multi-threaded programming, MFC in the multi-threaded development, inter-thread communication, thread synchronization.
socket
- 实现多线程间的异步通讯,主要应用委托的天生异步性-Between multi-threaded implementation of asynchronous communications, commissioned a major application of natural induction
EventObject_Manage
- 一个windows多线程实例,如果想写一个多线程程序又苦于不知道怎样做线程间通讯的朋友可以参考一下-Example of a multi-threaded windows, if they want to write a multithreaded program does not know what to do suffer from communication between threads can refer to a friend
ThreadTest
- 线程实例,线程间通讯控制,辅助线程调用主线程控件-Thread instance, controls communication between threads, worker threads call the main thread controls
111
- 线程通讯实例,实现线程间通讯,传递信息12345-Thread communication instance, to achieve inter-thread communication, transmission of information
CMutexDemo02
- 线程间通讯,通过互斥锁同步技术实现,能够很好的解决线程调用的安全性问题-Inter-thread communication, synchronization by mutex implementation, the thread can call a good solution to security problems
ThreadWorker
- 利用后台工人线程自动休眠自动工作,充分展示delphi线程的优越性。涉及到delphi多线程同步、线程唤醒、线程间通讯技术。-A test for thread that works at background and call it on surface. It s include process s communitations and callback between process.
MyClassThread04
- 线程的创建以及线程间的通讯。这些都是我初学的适合写的源码。值得初学者学习和收藏。-The creation of thread and communication between threads. These are all I write for beginners source code. Beginners are worth and the collection.
multitreadsrc3
- 多线程编程实例 包含2个源程序,线程间通讯及临界区的使用介绍-Multi-threaded programming examples
attach_20120621184746
- 多线程编程,用于实现WINDOWS平台的多线程操作,线程间的通讯。-Multithreaded programming for multi-threaded operation, communication between threads WINDOWS platform.
xiancheng
- 通过代码实现线程间通讯,实现等待、唤醒等机制。(Thread communication is realized through code.)
32236381
- 自己第一个vc程序,采用经典的进程间通讯的算法实现的()
WinSock2
- 一直很烦恼delphi附带的socket控件都不能满足我的设计逻辑需要,无奈只好自己动手封装了API,并且得到实践的证明(至少有两个服务器能稳定运行至今),本socket组件的多线程机制是安全的稳定的。 在服务器端,创建线程池,对于每个客户连接对应一个独立的线程类,可以在线程内处理客户数据,并可以线程间采用同步机制交换数据,为通讯服务器的建立提供了技术实现的基础。 U版本的经过了缺陷优化,虽然仅是经过了测试也还没有得到实践运行,但从以往成熟的结构演变而来的,问题应