搜索资源列表
MutexSynch
- 多线程编程-利用互斥量对象实现线程之间的同步。-Multi-threaded programming- the use of mutex objects to achieve the amount of synchronization between threads.
vcchuankou
- vc上位机串口程序,编写接受线程与发送线程,及线程之间同步。通信协议,奇偶校验-vc PC serial procedures, prepared to accept the thread and sending threads, and synchronization between threads. Communication protocol, parity
netmsg
- 1.说明 类似于QQ的局域网聊天软件,包括服务器端和客户端程序,采用tcp/ip socket多线程编程,服务器端主要负责客户端用户的注册登陆,用户资料的获取.客户端负责与其他客户端进行信息控制与传递(包括聊天和传送文件). 2.特点 a.采用tcp非udp的socket编程,保证传输的稳定性和实时性. b.在同步操作时大多数采用了多线程和超时控制.例如:在传送文件的同时能继续聊天. c.服务器只负责用户登陆,查询
threadpool
- 线程池功能,控制线程的执行及同步,在同一时刻,线程池中只允许指定数量的线程执行.-Thread pool function, control the implementation of threads and synchronization, at the same time, the thread pool to allow only a specified number of threads implementation.
javasocket
- 1. socket通信:有客户端和服务端的socket代码。 2. 多线程:客户端和服务端各用一线程发送信息;服务端另有一监听线程,用于把超时的信息删除。 这里应用到了同步,使两个线程可以操作同一个map。 -1. Socket communications: There are client and service side of the socket code. 2. Multi-threading: cl
MyThreadPool
- 用VC上自己写的一个线程池,实现了一个自定义的CriticalSection,一个安全且可自动解除的锁,一个自定义的线程类,它封装了一个线程核心对象,最后实现了线程池类,用来管理线程对象。 且利用事件核心对象,实现了线程核心对象对消息列表的同步访问。下载即可运行,是整个工程文件-a threadpool, implemented by define a self-defining CriticalSection, a safy lock
sum_static
- 使用windows api的多线程入门级简单实例,使用临界区作为同步机制-Use windows api easy entry-level multi-threaded example, the use of the critical zone as a synchronization mechanism
Thread
- Windows 线程类 使用方便支持同步-Easy to use Windows threads support category synchronization
multiline
- 建立一个工程,主线程负责用户交互,界面上提供一个按钮,通过它用户建立一个新的线程处理复杂的计算。多个线程可以共享内存中的某些变量。线程可以中止,挂起。线程间需要同步-Set up a project, the main thread is responsible for user interaction, provide a button on the interface through which users set up a new
windowpro
- 多线程应用程序,实现同步功能,它一边内部进行计数,一边在窗口播放AVI动画-Multi-threaded applications to achieve synchronization, it counts the internal side, the side of the window to play AVI animation
thread
- java 线程 静态锁,对象锁, synchronized 是锁方法还是锁对象?还是锁类?如何实现?? 部分代码如下, public static Object lock=new Object() //静态锁,锁类,不是锁对象了!!所以两个线程同时 运行两个 TestThread 的execute( ),也可以同步!!! public void execute(){ // synchro
Multithreading
- 本文着重探讨用多线程并行的方式通过多个串口进行并行通信。使用多线程进行串行 通信的文献已有一些,但都没涉及到多个串口并行的情况。本文介绍的多串口多线程通信方 法,使多个串口并行通信,从而实现大规模的数据采集与高速数据传输操作。 关键词:多线程;串行通信;同步 -This article focused on the use of multi-threaded parallel manner parallel th
QQliaotiangongju
- 本程序采用tcp/ip socket多线程编程,并对一些重要的同步操作做了超时控制,以减少等待的时间,像连接服务器,等待对方接收文件等。基本功能跟QQ类似,能进行多点的聊天和点对点的文件传送。-This procedure using tcp/ip socket multi-threaded programming, a number of important and did a time-out synchronization con
SocketCAsyncSocketCSocket
- Socket,CAsyncSocket,CSocket介绍 Socket有同步阻塞方式和异步非阻塞方式两种使用,事实上同步和异步在我们编程的生涯中可能遇到了很多,而Socket也没什么特别。虽然同步好用,不费劲,但不能满足一些应用场合,其效率也很低。 也许初涉编程的人不能理解"同步(或阻塞)"和"异步(或非阻塞)",其实简单两句话就能讲清楚,同步和异步往往都是针对一个函数来说的,"同步"就是函数直到其要执行的功能全部完成时才
LANTIME
- Windows下基于TCP/IP的多线程通信,实现点对点聊天和系统时间同步功能。-Windows, TCP/IP-multi-threaded communication, to achieve point-chat and system time synchronization.
synchronization
- windows线程的创建和用线程等待实现线程的同步-windows thread creation and the use of threads waiting to achieve thread synchronization
ThreadS
- 基于MFC的简单多线程程序,运用同步机制使计数线程和显示线程协调工作-A simple MFC-based multi-threaded program, the use of thread synchronization mechanism to realize the coordination of the count thread and the display thread
CSharp_Thread_Src
- 以CSharp实现多线程采集程序,包括读/写功能及线程间的同步问题,编写软件有此功能需求者是不错的范例。-To CSharp multi threaded collection procedures, including the read/write functions and synchronization between threads, this function needs to write software with an e
threadCreate
- 关于线程编程的文档。讲述线程的创建与取消、私有数据、同步和中止。-Programming document on the thread. About the creation and abolition of the thread, private data, synchronization and termination.
ThreadPoolProject
- 是我这几天写的一个C++线程池 注释很全 设计思路也写上去了 同步问题考虑的详细的不能在详细了-I write these days, a C++ thread pool comment is also written up the whole design concept of the synchronization problem can not be considered in more detail the