文件名称:libthread_new
-
所属分类:
- 标签属性:
- 上传时间:2012-10-31
-
文件大小:7.84kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
实现了一个线程池。其中运用了队列,以避免任务丢失。在队列和线程池之间创建了一个中间夹层,以提高可移植性。当任务来时,先压入队列,然后唤醒线程执行操作。线程完成任务后,再去队列查询,如果有任务就去执行,没有则阻塞,等待-Implements a thread pool. The application the queue, to avoid task lost. In the queue and thread pool between to create a intermediate sandwich, in order to improve the portability. When the task comes, first presses in the queue, and then awaken thread perform operation. Thread after completion of a mission, to queue inquires the, if have the mission to carry out, no is blocked, wait
(系统自动生成,下载前可以参看下载内容)
下载文件列表
libthread_new/middle/taskque.c
libthread_new/include/threadpool.h
libthread_new/include/taskque.h
libthread_new/include/qfque.h
libthread_new/que/que.c
libthread_new/threadpool/threadpool.c
libthread_new/test
libthread_new/main.c
libthread_new/middle
libthread_new/include
libthread_new/que
libthread_new/threadpool
libthread_new
libthread_new/include/threadpool.h
libthread_new/include/taskque.h
libthread_new/include/qfque.h
libthread_new/que/que.c
libthread_new/threadpool/threadpool.c
libthread_new/test
libthread_new/main.c
libthread_new/middle
libthread_new/include
libthread_new/que
libthread_new/threadpool
libthread_new
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.