搜索资源列表
Threading
- 此示例演示下面的线程处理技术。有关更多信息,请参见线程处理创建、启动和终止线程使用线程池线程同步和互交-This example demonstrated the following thread processing technology. For more information, please see threads creation, initiation and termination of the use of threads thread pool thread synchroni
x-net
- IOCP(I/O Completion Port,I/O完成端口)是性能最好的一种I/O模型。它是应用程序使用线程池处理异步I/O请求的一种机制。在处理多个并发的异步I/O请求时,以往的模型都是在接收请求是创建一个线程来应答请求。这样就有很多的线程并行地运行在系统中。而这些线程都是可运行的,Windows内核花费大量的时间在进行线程的上下文切换,并没有多少时间花在线程运行上。再加上创建新线程的开销比较大,所以造成了效率的低下。 -IOCP (I/O Completion Port, I/O
Work_Queue_demo
- 本程序演示如何使用线程池。同时生成多个线程,但只有指定数目得线程在运行。-This procedure demonstrates how to use the thread pool. At the same time generate multiple threads, but only a specified number of threads running.
fastdb-363
- FastDB3.6.3是最近的windows版本的fastdb内存数据库。FastDB是一个高效率的内存数据库系统,在磁盘上的数据库文件和使用该数据库的每一个应用程序占用的虚拟内存空间相映射,这样取消了数据文件和缓冲池中的数据传输。再将整个文件数据读入内存,并且使用了高性能的锁工具实现了只读模式线程间、单个更改模式线程和多个只读模式线程间的并发执行。-Most recent sources for Windows:FastDB3.6.3
iocpJTLV4
- 从上次我完成比较基本的完成端口到现在已经过去了一个月,在这个月中基本是在研究这个完成端口。经过无数的查阅,参考了不少高手的文章终于完成。 这里面用到了比较多的技术。 1。用取函数指针的方法运行ACCEPTEX函数。 2。用链表结构做成一个内存池,事实上是个CLIST链表。。。生成,取一个块,释放,放回链表 3。并没有使用线程池,因为我发现根本不能提高效率,反而降低了。从原理上分析,就应当是这样的。如果编得好,就不应当用到很多的线程。如果用到了很多线程,说明线程中的代码效率有问题。
AboutThreadPool
- 线程的创建及销毁都需要很大的性能开销,当有比较多且不同的任务需要完成时,可以考虑使用线程池来管理上述线程-Thread creation and destruction of all requires a lot of performance overhead, when there are more and different tasks to complete, you can consider using the thread pool to manage the thread
IOCP_W2008
- 一个iocp的使用线程池的例子,使用的CreateThreadpoolIo函数. 多个线程查看线程工作情况.-The use of a thread pool iocp example, the use of CreateThreadpoolIo function. Multiple threads View thread work.
libzdb-3.1.tar
- 线程安全的数据库连接池 连接到多个数据库系统 零运行时配置,连接使用一个URL模式 支持MySQL、PostgreSQL SQLite和Oracle-Thread safe Database Connection Pool Connect to multiple systems Zero runtime configuration, connect using a URL scheme Supports MySQL, PostgreSQL, SQLite and Ora
ZMServer
- 简单的java socket通信程序,运用了线程池技术,可用于一对多通信-Simple java socket communication procedures, the use of thread pool technology can be used for one to many communications
threadpool
- 线程池封装,多态实现,自动控制线程池中线程的数量,有注释-Thread pool, multi-state implementation, automatic thread pool thread number, there are comments
iocp
- 易语言IOCP线程池源码例程程序结合易语言多线程支持库,调用API函数实现IOCP线程池操作。 -Easy language IOCP thread pool source routine procedures combined with easy language multithreading support library, call the API function to achieve IOCP thread pool operation.
HeartBeat
- 连接池心跳模式.多线程.自动释放资源.学习资料.-Connection pool heartbeat mode. Multithreading. Automatically release resources. Learning materials
swoole-master
- 一个专门为PHP语言设计的异步、并行、高性能网络通信引擎,使用纯C语言编写,提供了PHP语言的异步多线程服务器,异步TCP/UDP网络客户端,异步MySQL,异步Redis,数据库连接池,AsyncTask,消息队列,毫秒定时器,异步文件读写,异步DNS查询。 Swoole内置了Http/WebSocket服务器端/客户端、Http2.0服务器端。-A special asynchronous, PHP language design, high performance parallel net
thread_pool.tar
- boost库线程池,linux环境下开发,可用于linux下多线程开发(Boost library thread pool, Linux implementation)
ThreadPoolDemo
- 简易线程池思想+优先任务队列 可根据当前任务状态动态增减任务线程数 数目成员包括:初始线程数 最多线程数 最少空闲线程数 最多空闲线程数 原则上接到任务从空闲线程队列取线程执行,取了后判断最多线程数与最少空闲线程数决定是否创建空闲线程 线程执行从空闲切换到繁忙,执行完后继续从任务队列取任务执行,当任务队列空了再放置空闲队列 放置到空闲队列后,判断空闲队列最多数选择干掉空闲线程(Simple thread pool thinking + priority task queue can dy
pn6
- 实现消息队列的推送服务,基于Linux c实现线程池处理多任务,实现基于socket的边沿触发epoll通信(Implementing push services for message queues)
kimgbo-master
- kimgbo由muduo网络库改写而来。去除了muduo对于Boost库的依赖,转而采用C++11替代, 优化了muduo网络I/O库一处将来有可能会出现race condition隐患的代码,几乎具备了muduo 网络库全部的功能。 kimgbo/base目录下存放了整个网络库的基础代码,kimgbo/net目录下存放了网络库的核 心代码,kimgbo/example目录下存放了一些网络库基础的使用示列程序。 ? ?除去除了对boost库的依赖外,还对其线程池和Buffer
作业二代码
- 单线程,多线程,线程池,数大文件单词数,从而比较性能。(Single thread, multithreading, number of large number of file words in thread pool)
Multithreading in C# 5.0 Cookbook
- C#多线程编程实战 目录 第1章 线程基础 第2章 线程同步 第3章 使用线程池 第4章 使用任务并行库 第5章 使用C# 5.0 第6章 使用并发集合 第7章 使用PLINQ 第8章 使用Reactive Extensions 第9章 使用异步I/O 第10章 并行编程模式 第11章 更多信息(C# multi thread programming real war directory The first chapter thread base Sec
马士兵 Java高并发编程源码和思考题
- 马士兵老师的Java高并发编程及思考题,源码内容适合有多线程基础的朋友们。属于进阶版,从volatile和synchronized线程同步开始,有生产者消费者源码,阻塞队列等,由浅及深,最后介绍了线程池实现。