文件名称:homework5
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:4.68mb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
编写一个单队列线程池应用,在应用中存在两种线程:一个用户线程,用于向线程池发送加法计算请求;若干计算线程,接收来自线程池的加法请求,计算后将结果返回给用户线程。其中用户线程拥有自己的消息队列,若干计算线程共享一个消息队列。测试时需要向线程池提交>=1000个加法请求,用户线程需要验证是否收到结果。-The preparation of the application of a single queue thread pool, there are two threads in the application: a user thread, for the request to send the addition of the thread pool number of computing threads to receive the addition of requests from the thread pool, the calculation will be returned to the user thread . Which the user thread has its own message queue, the number of computational threads share a message queue. The test is required to submit to the thread pool> = 1000 addition request, the user thread needs to verify that the received results.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
homework5/a.out
homework5/CLConditionVariable.cpp
homework5/CLConditionVariable.h
homework5/CLConditionVariable.h.gch
homework5/CLCriticalSection.cpp
homework5/CLCriticalSection.h
homework5/CLCriticalSection.h.gch
homework5/CLEvent.cpp
homework5/CLEvent.h
homework5/CLEvent.h.gch
homework5/CLExecutive.cpp
homework5/CLExecutive.h
homework5/CLExecutive.h.gch
homework5/CLExecutiveCommunication.cpp
homework5/CLExecutiveCommunication.h
homework5/CLExecutiveCommunication.h.gch
homework5/CLExecutiveFunctionForMsgLoop.cpp
homework5/CLExecutiveFunctionForMsgLoop.h
homework5/CLExecutiveFunctionForMsgLoop.h.gch
homework5/CLExecutiveFunctionProvider.cpp
homework5/CLExecutiveFunctionProvider.h
homework5/CLExecutiveFunctionProvider.h.gch
homework5/CLExecutiveInitialFinishedNotifier.cpp
homework5/CLExecutiveInitialFinishedNotifier.h
homework5/CLExecutiveInitialFinishedNotifier.h.gch
homework5/CLExecutiveNameServer.cpp
homework5/CLExecutiveNameServer.h
homework5/CLExecutiveNameServer.h.gch
homework5/CLLog.cpp
homework5/CLLog.h
homework5/CLLog.h.gch
homework5/CLLog.txt
homework5/CLMessage.cpp
homework5/CLMessage.h
homework5/CLMessage.h.gch
homework5/CLMessageLoopManager.cpp
homework5/CLMessageLoopManager.h
homework5/CLMessageLoopManager.h.gch
homework5/CLMessageObserver.cpp
homework5/CLMessageObserver.h
homework5/CLMessageObserver.h.gch
homework5/CLMessageQueue.cpp
homework5/CLMessageQueue.h
homework5/CLMessageQueue.h.gch
homework5/CLMsgLoopManagerForMsgQueue.cpp
homework5/CLMsgLoopManagerForMsgQueue.h
homework5/CLMsgLoopManagerForMsgQueue.h.gch
homework5/CLMutex.cpp
homework5/CLMutex.h
homework5/CLMutex.h.gch
homework5/CLNonThreadProxy.cpp
homework5/CLNonThreadProxy.h
homework5/CLNonThreadProxy.h.gch
homework5/CLStatus.cpp
homework5/CLStatus.h
homework5/CLStatus.h.gch
homework5/CLThread.cpp
homework5/CLThread.h
homework5/CLThread.h.gch
homework5/CLThreadCommunicationByMsgQueue.cpp
homework5/CLThreadCommunicationByMsgQueue.h
homework5/CLThreadCommunicationByMsgQueue.h.gch
homework5/CLThreadInitialFinishedNotifier.cpp
homework5/CLThreadInitialFinishedNotifier.h
homework5/CLThreadInitialFinishedNotifier.h.gch
homework5/CLThreadProxy.cpp
homework5/CLThreadProxy.h
homework5/CLThreadProxy.h.gch
homework5/test.cpp
homework5
homework5/CLConditionVariable.cpp
homework5/CLConditionVariable.h
homework5/CLConditionVariable.h.gch
homework5/CLCriticalSection.cpp
homework5/CLCriticalSection.h
homework5/CLCriticalSection.h.gch
homework5/CLEvent.cpp
homework5/CLEvent.h
homework5/CLEvent.h.gch
homework5/CLExecutive.cpp
homework5/CLExecutive.h
homework5/CLExecutive.h.gch
homework5/CLExecutiveCommunication.cpp
homework5/CLExecutiveCommunication.h
homework5/CLExecutiveCommunication.h.gch
homework5/CLExecutiveFunctionForMsgLoop.cpp
homework5/CLExecutiveFunctionForMsgLoop.h
homework5/CLExecutiveFunctionForMsgLoop.h.gch
homework5/CLExecutiveFunctionProvider.cpp
homework5/CLExecutiveFunctionProvider.h
homework5/CLExecutiveFunctionProvider.h.gch
homework5/CLExecutiveInitialFinishedNotifier.cpp
homework5/CLExecutiveInitialFinishedNotifier.h
homework5/CLExecutiveInitialFinishedNotifier.h.gch
homework5/CLExecutiveNameServer.cpp
homework5/CLExecutiveNameServer.h
homework5/CLExecutiveNameServer.h.gch
homework5/CLLog.cpp
homework5/CLLog.h
homework5/CLLog.h.gch
homework5/CLLog.txt
homework5/CLMessage.cpp
homework5/CLMessage.h
homework5/CLMessage.h.gch
homework5/CLMessageLoopManager.cpp
homework5/CLMessageLoopManager.h
homework5/CLMessageLoopManager.h.gch
homework5/CLMessageObserver.cpp
homework5/CLMessageObserver.h
homework5/CLMessageObserver.h.gch
homework5/CLMessageQueue.cpp
homework5/CLMessageQueue.h
homework5/CLMessageQueue.h.gch
homework5/CLMsgLoopManagerForMsgQueue.cpp
homework5/CLMsgLoopManagerForMsgQueue.h
homework5/CLMsgLoopManagerForMsgQueue.h.gch
homework5/CLMutex.cpp
homework5/CLMutex.h
homework5/CLMutex.h.gch
homework5/CLNonThreadProxy.cpp
homework5/CLNonThreadProxy.h
homework5/CLNonThreadProxy.h.gch
homework5/CLStatus.cpp
homework5/CLStatus.h
homework5/CLStatus.h.gch
homework5/CLThread.cpp
homework5/CLThread.h
homework5/CLThread.h.gch
homework5/CLThreadCommunicationByMsgQueue.cpp
homework5/CLThreadCommunicationByMsgQueue.h
homework5/CLThreadCommunicationByMsgQueue.h.gch
homework5/CLThreadInitialFinishedNotifier.cpp
homework5/CLThreadInitialFinishedNotifier.h
homework5/CLThreadInitialFinishedNotifier.h.gch
homework5/CLThreadProxy.cpp
homework5/CLThreadProxy.h
homework5/CLThreadProxy.h.gch
homework5/test.cpp
homework5
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.