Thread pool implementation
2016-08-23
0 0 0
no vote
Other
Earn points
Class Pool manages requests from clients.
management is storing requests in a priority queue and executing them in paralel.
the maximum number of executed requests in paralel is max - variable of ctor.
Run function opens a new thread called the main thread, which does the management.
Enqueue function adds a new request to a pool, this function is thread safe.
Wait function is blocking until all(or spesific request) requests are ended.c++
线程
实现
Related Source Codes
Local Path Planning Algorithm - DWA Algorithm
0
0
no vote
enDAQ-Shock-Data-Share-SRS-Blog
0
0
no vote
Calling chatGPT in a Windows application
0
0
no vote
Test Hello world
0
0
no vote
RCS calculation by one-way ray tracing
0
0
no vote
No comment