Description: The preparation of the application of more than one queue thread pool, there are three threads in the application: a user thread, used to calculate the request to the master thread to send addition a master thread, received the addition of users to send requests load balanced request distribution calculated to a number of threads a number of computing threads to receive from the master thread of the addition request, the calculation will be returned to the user thread. Where each thread has its own message queue. The test is required to submit to the master thread> = 1000 addition request, the user thread needs to verify that the received results.
To Search:
File list (Check if you may need any files):
homework4\CLConditionVariable.cpp
.........\CLConditionVariable.h
.........\CLCriticalSection.cpp
.........\CLCriticalSection.h
.........\CLEvent.cpp
.........\CLEvent.h
.........\CLExecutive.cpp
.........\CLExecutive.h
.........\CLExecutiveCommunication.cpp
.........\CLExecutiveCommunication.h
.........\CLExecutiveFunctionForMsgLoop.cpp
.........\CLExecutiveFunctionForMsgLoop.h
.........\CLExecutiveFunctionProvider.cpp
.........\CLExecutiveFunctionProvider.h
.........\CLExecutiveInitialFinishedNotifier.cpp
.........\CLExecutiveInitialFinishedNotifier.h
.........\CLExecutiveNameServer.cpp
.........\CLExecutiveNameServer.h
.........\CLLog.cpp
.........\CLLog.h
.........\CLMessage.cpp
.........\CLMessage.h
.........\CLMessageLoopManager.cpp
.........\CLMessageLoopManager.h
.........\CLMessageObserver.cpp
.........\CLMessageObserver.h
.........\CLMessageQueue.cpp
.........\CLMessageQueue.h
.........\CLMsgLoopManagerForMsgQueue.cpp
.........\CLMsgLoopManagerForMsgQueue.h
.........\CLMutex.cpp
.........\CLMutex.h
.........\CLNonThreadProxy.cpp
.........\CLNonThreadProxy.h
.........\CLStatus.cpp
.........\CLStatus.h
.........\CLThread.cpp
.........\CLThread.h
.........\CLThreadCommunicationByMsgQueue.cpp
.........\CLThreadCommunicationByMsgQueue.h
.........\CLThreadInitialFinishedNotifier.cpp
.........\CLThreadInitialFinishedNotifier.h
.........\CLThreadProxy.cpp
.........\CLThreadProxy.h
.........\test.cpp
homework4