搜索资源列表
598734
- VC++ 创建Worker线程实例源码,演示了如何创建线程,启动线程,设置线程参数,并向主线程窗体发送消息等基本的线程操作实例 。,精选学习源码,很好的参考资料。-VC++ source code to create an instance of Worker threads, demonstrates how to create a thread, the thread started, set the thread parameters, form the main thread to se
chat
- 模拟qq聊天室。 服务器端:使用TCP协议创建套接字拿到机器的IP地址,选择一个可用的端口号,绑定它们,然后侦听客户端等待套接字连接。在收到客户端的连接请求,创建一个线程来与客户端进行交互。 客户端:类似服务器端,创建一个socket,注意IP和端口号和服务器端的匹配。在发送连接请求,服务器端,输入您的用户名,然后连接服务器时,可以接收其他客户端发送的数据,但他们也可以将数据发送到服务器端,聊天室功能的实现。-Simulated qq chat rooms. server side:
p_c
- 利用线程通同步实现生产者消费者的问题。点“启动” 按钮,创建两组线程,一组为生产者,另一组为消息者-producer and consumer
Windows-Coding
- 包含了Windows编程技术中的许多代码样例,包括基本窗口的创建,图形编程基础、键盘、鼠标编程基础、子窗口控制项、对话框和多线程等。每个知识块都有2-3个程序示范,由浅入深,还有大量的代码注释,方便Windows编程新手的学习-Contains many Windows programming code examples, including the basic window creation, graphics programming, keyboard, mouse programming,
javaThreadStudy
- java线程学习,举了几个基本的线程例子,如:Ruannable、创建线程、线程实现走马灯等-java threads study, cited several examples of basic threads, such as: Ruannable, create a thread, the thread to achieve a revolving door, etc.
34
- 创建Worker线程实例源码,演示了如何创建线程,并向主线程窗体发送消息等基本的线程操作实例,精选学习源码,很好的参考资料。-Worker threads created source code examples demonstrate how to create a thread, a thread to the basic operation examples such as the main thread form to send a message, selected learning
mem-poolAndThread-pool
- 培训资料,讲解内存池和线程池的创建和使用,值得研究学习。-Training materials, create and use to explain the memory pool and thread pool, it is worth study.
WCFWPFChatters
- 使用WPF和WCF实现的聊天室程序 WCF中使用了:新的面向服务的属性 使用接口 利用回调 异步委托 创建代理 WPF中使用了:样式 模板 动画 数据绑定 多线程WPF应用程序-Use WPF and WCF chat room procedures used in WCF: new service-oriented interface to take advantage of the properties to use asynchronous delegate callbacks
VCPPUIthread
- 使用线程创建一个UI线程供新手学习。是一个不错的学习资料。值得下载-Use the thread to create a UI thread for novices to learn. Is a good learning materials. Worth downloading
UDP-Socket
- delphi 编写的udp通讯实例,创建udp客户端线程和服务器端线程。-delphi udp
1
- Windows中的线程与线程同步现象.创建两个线程,一个对 i 执行加 1 操作,另一个对 i 执行减 1 操作。两个线程执行相同的次数。-Windows threads and thread synchronization.
SendData
- 这个是一个简单的多线程TCP客户端测试程序,可以创建多个连接进行数据发送。-This is a simple multi-threaded TCP client test program, you can create multiple connections for data transmission.
Priority
- C# 线程优先级定义实例,程序先演示如何创建优先级,可创建最高优先、普通优先和最低级别的线程实例,通过点击左侧的按钮确定后,右侧来显示线程运行信息,显示优先级信息供参考,在C#中,设置线程执行的优先级同为重要课程,对优化应用程序,提高执行效率有较好的意义-Prioridades de C# de rosca definen los casos, el programa muestra cómo crear una primera prioridad, para crear la más alta
ChatDlg
- 多线程与聊天室的创建,在一个对话框下添加不同组件如IP组件,使用多线程,互斥对象-Multithreading and create a chat room, in the next dialog box to add different components such as IP components, the use of multi-threading, mutex
ADOConnectionPool
- Delphi做服务器端如果每次请求都创建一个连接就太耗资源了,而使用一个全局的连接那效率可想而知,这样就体现出了线程池的重要了。参考一些例子做了个ADO的连接池,用到项目中挺不错的,分享下。 { *** *** *** *** *** *** *** *** *** * } { Descr iption : ADO连接池 } { Create Date : 2010-8-31 23:22:09 } { Modify Remark :2010-9-1 12:00:09 } {
delphiADOPool
- Delphi做服务器端如果每次请求都创建一个连接就太耗资源了,而使用一个全局的连接那效率可想而知,这样就体现出了线程池的重要了。参考一些例子做了个ADO的连接池,用到项目中挺不错的,分享下。 -Delphi done on the server side, if a connection is created for each request would be too resource intensive, while the use of a global connection that
clockgood
- 比较实用的,绘制表盘的外观、绘制表盘上的小刻度和大刻度也是值得参考的,表盘分割成60份,将分割点处的坐标存放在数组中,每当小程序重新开始时,首先消灭线程,然后重新开始创建线程。12点各个时针的位置坐标(按新坐标系的坐标)。 Thread 时针=null, 分针=null,秒针=null //用来表示时针、分针和秒针的线程。 //表示时针、分针、秒针端点的整型变量: int hour_a,hour_b,munite_a,munite_b,second_a,secon
mutex
- 功能是利用互斥体来保护同时访问的共享资源,包含创建者创建两个线程来访问共享值,解除程序释放对对象的引用,在两个线程终止之前可暂停主调者-Function is to use a mutex to protect simultaneous access to shared resources.Includes the creation of two threads to access a shared value, lifting procedures to release references
mappings
- 功能是仲裁访问的互斥体,包含创建数据文件,创建仲裁的互斥体,根据文件创建100个线程来读写,关闭对象-Function is to arbitrate access mutex,Includes creating a data file, create a mutex arbitration, creates 100 threads to read and write in the paper, close the object
SerialPort
- * Function: 串口的打开、关闭、数据发送 以及 自动接收 (1)采用【事件驱动】的方式,即当缓冲区接收到数据的时候,【自动执行接收数据】,有效的节省系统资源,提高执行效率。 原理:建立一个事件线程,它监视串口的事件和错误信息。当有事件或错误发生时,它主动向【主线程】发送一个Windows消息。主线程在消息相应函数中处理已发生的事件或错误。 (2)采用“异步方式”读串口,耗时的读数据在单独的线程中进行。 (3)编程步骤:定义全局变量、创建串口、开启事件线程、发送数据、自定