Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode OS program Linux-Unix
Title: thread Download
 Description: Outline the principles and the role of each class (1): CTask a task base class, as arguments to thread (2): CWorkThread: Class of worker threads, polling detection parameters are available, if available, Go to the implementation of the function call parameters CTask Execute, if the parameter is not available to wait (3): CWorkQueue: a task queue, which loaded CTask subclass object is a container object (4): CWorkThreadPool: worker thread pool, which contains the group of worker threads, scheduling threads, thread scheduling non-stop testing Task queue is available in the task object, such as over the task of taking to a valid object, the thread from the Working Group to find out An idle worker thread, this task to the idle thread to execute, if no idle thread is to create a new The work of the thread and added to the thread group. (1), (2), (3), (4) form the core of the library, can be modified for application Other sub categories: (5): CSim
 Downloaders recently: [More information of uploader jing20054786]
 To Search:
File list (Check if you may need any files):
线程库\examples\Makefile
......\........\UDPClient.cpp
......\........\UDPClient.h
......\........\UDPServer.cpp
......\........\UDPServer.h
......\include\CommHead.h
......\.......\LibHead.h
......\.......\LogHelper.h
......\.......\SimpleUDP.h
......\.......\Task.h
......\.......\TaskQueue.h
......\.......\WorkThread.h
......\.......\WorkThreadPool.h
......\src\LogHelper.cpp
......\...\Makefile
......\...\SimpleUDP.cpp
......\...\Task.cpp
......\...\TaskQueue.cpp
......\...\ThreadMain.cpp
......\...\ThreadMain.dsp
......\...\ThreadMain.dsw
......\...\ThreadMain.ncb
......\...\ThreadMain.opt
......\...\ThreadMain.positions
......\...\WorkThread.cpp
......\...\WorkThreadPool.cpp
......\说明.docx
......\src\Debug
......\examples
......\include
......\src
线程库
    

CodeBus www.codebus.net