搜索资源列表
easelib
- 这是本人在Linux下开发经常使用的一组C++工具类,包括了Socket类、TCP服务类、UDP服务类、Mysql数据库操作类、日志类、配置文件解析类、日期时间操作类、MD5和Base64加解密类、线程和线程池类、XML文件解析类等-this is my development in Linux are frequently used by a group C Tools categories, including the Socket class. TCP services category,
cthread_demo
- cthread使得同在MFC线程不相上下一样,在你的C#/Java语言. 对于你自己说可以用class CThread Run( void * ) Start() .启动线程-cthread made with the MFC similar to the same thread, in your C# / Java language. For your own class can be used CThread Run (vo id *) Start (). start threads
Thread
- 基于windows API来实现的一个Thread类,参考了VCL里的TThread-An implementation of Thread class based on windows API. Reference TThread of VCL
libgc
- Portable thread-based garbage collection library, for C-LibGC is a thread-based garbage-collection library with the following features: thread-based garbage collection. precise collection. uses the mark & sweep algorithm. portable uses
ClassThreadFun
- 程序中介绍了如何用非静态的类成员函数作为线程函数-Procedure describes how to use non-static class member functions as thread functions
thread
- 概述一下原理和每个类的作用 (1): CTask 一个任务基类,作为线程的参数用 (2): CWorkThread:工作线程类,轮询检测参数是否可用,如果可用的话, 就去调用参数CTask的执 行函数Execute,如果参数不可用就等待 (3): CWorkQueue:是一个任务队列,里面装载CTask子类的对象,是一个对象的容器 (4): CWorkThreadPool:工作线程池,其中包含了工作线程组,调度线程,调度线程不停的检测 任务队列中是否有可用
example
- wait-notify机制的应用 不同步时引出的问题 继承基类的实现 实现接口的实现 同步方法的实现 同步块的实现 线程管理池 -wait-notify mechanism of the application does not sync issues arising from the base class implementation inheritance to achieve synchronization interface methods to achiev
homework2
- 编写基于管道的消息队列,该消息队列采用管道进行消息发送、存储、传递及接收。该消息队列应用于多线程环境时要保证线程是安全的;所采用的管道可以是由pipe创建的,也可以是命名管道;该消息队列能够接收CLMessage继承体系的消息;该消息队列能融入到本课程所提供的程序库中,能支持线程之间的通信(即需要提供发送消息的通信类,以及消息循环的管理类)。-The preparation of a pipeline-based message queue, the message queue using th
homework3
- 自己设计并实现一个消息队列,该队列能够接收CLMessage继承体系的消息,并且保证多线程环境下线程是安全的。该消息队列可以融入到本课程所提供的程序库中,能够支持线程之间的通信(即需要提供发送消息的通信类,以及消息循环的管理类)。-Design and implement a message queue, the queue CLMessage inheritance system able to receive messages, and to ensure a multi-threaded
common
- localtime函数不是线程安全的,这个时间类可以完成获取当前时间,计算时间间隔,获取当前年月日等功能。该类可以在多线程中使用。-localtime function is not thread-safe, this time the class can be done to get the current time to calculate the time interval, to get the current date and other functions. This class c
SIMD-multiTask
- MFC多线程类,可以设置一个多任务(线程)对象,然后启动对象,同步对象,之后完成了多任务操作。-Multi Task Class. You can set a muti-task(thread)Object, followed by start and synch. The muti-task executed.
CommonService
- 自己的项目里用的公共组件有加密解密算法,文件版本信息读取类,容器池以及线程类-CommonService Dll FileVersion class Thread class encrypt class
CPP_lib_SRC
- 些舍不得格式化的代码,分享给大家. 一、C++、C内存池、内存泄漏调试的实现 二、Windows、Linux双平台线程池的实现. 三、一些标准编码的封装类实现. _base64Encode.h _urlEncode.h _utf8Encode.h base32Encode.cpp base32Encode.h base64Encode.cpp base64Encode.h crc32Encode.cpp crc32Encode.h url
Thread
- 一个跨平台的线程类,windows,linux-A cross-platform thread class encapsulates
Serial-Port-Class
- 一个可以直接使用的串口操作类,这个类完成读、写和监视一个串口通信端口,当串行端口发生事件它会发送一个消息给其所属窗口, 该类创建一个读数据线程和一个写数据线程,使主程序不会被堵塞。-One can use the serial port operations, the completion of this class to read, write, and monitor a serial communications port, serial port when the event occ
Observer-Thread-sample
- 考虑到这些应用, 比较合适的就是 Observer (观察者) 模式, 不仅可以动态的加入/移出观察者, 也能够让线程类 (Core) 和显示类 (UI) 之间脱耦. 可谓一举多得. 于是我就试着写了个线程搜索路径下所有文件的例子, 在其中应用了 Observer 模式.-Decoupling between the consideration of these applications is more appropriate Observer (Observer) mode, not only
Qtthread
- QT通过三种形式提供了对线程的支持。它们分别是,一、平台无关的线程类,二、线程安全的事件投递,三、跨线程的信号-槽连接。这使得开发轻巧的多线程Qt程序更为容易,并能充分利用多处理器机器的优势。多线程编程也是一个有用的模式,它用于解决执行较长时间的操作而不至于用户界面失去响应-QT through three forms provides support for threads. They are respectively, a thread class, platform independent
CPthread
- Cross platform thread cla-Cross platform thread class
EditTreeCn
- 使用c++中封装好的thread类来实现多线程操作的demo-Use c++ in the package of good thread class to achieve multi-threaded operation of the demo
startThread
- 多线程编程的QT实现,提供了平台无关的线程类,实现跨线程的信号-槽连接-Multi-threaded programming QT implementation, provides a platform-independent thread class, to achieve cross-threaded signal- slot connection