Hello...
I have updated my efficient Threadpool engines with priorities
and without priorities to version 2.6, i was thinking more and
i have come with another more efficient and more scalable
concurrent FIFO Queue, please look at it inside the
zipfile, its name is FIFOQueue_mpmc.pas, i have also
corrected some logic inside my algorithm of my Threadpool engines
and now they are correct, i have tested them thoroughly and
you can be confident because i think they are stable and fast now,
so be happy with them.
One last note: if you look at the microsoft TPL library
it's using a Threadpool engine with many queues and i think
it's work stealing with a round robin mechanism , but i think
this is not good for critical systems if the number of queues
are higher and higher... i have avoided this problem in
my Threadpool engine.
You can download my Threadpool engines with priorities and
without priorities version 2.6 from:
https://sites.google.com/site/aminer68/threadpool-with-priorities
and from:
https://sites.google.com/site/aminer68/threadpool
Please feel freee to port them to the C++ programming language...
Thank you,
Amine Moulay Ramdane.